In the Linux kernel, the following vulnerability has been resolved:
bpf, sockmap: Several fixes to bpfmsgpop_data
Several fixes to bpfmsgpopdata, 1. In skmsgshiftleft, we should putpage 2. if (len == 0), return early is better 3. pop the entire skmsg (last == msg->sg.size) should be supported 4. Fix for the value of variable "a" 5. In skmsgshiftleft, after shifting, i has already pointed to the next element. Addtional skmsgitervar_next may result in BUG.
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 237.0,
"function_hash": "232833799010608836529837683038129348432"
},
"id": "CVE-2024-56720-0d9c4d65",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d609ba262475db450ba69b8e8a557bd768ac07a",
"target": {
"file": "net/core/filter.c",
"function": "sk_msg_shift_left"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"207332471359639077743651848205486335443",
"130820704931051431600612148605849981417",
"224618820272408987722795005947316766440",
"319056974873989294110001042468056192250",
"291440575836126221039647501811895417054",
"273105104470476333122963553914139145657",
"121877465426673347637896943897827404970",
"197381522982046018530583717681915730601",
"179260870866146462330130882624548507810",
"255856227296513197845814988768859505093",
"60420719037459402434964443114488056117",
"79103700530916399675616601862514891507",
"91541985371124908324984628907314726752",
"295234053242475042559556275396419220047",
"32139409486419820637452272943076131466",
"33573334170756145701143225836438037278",
"65930505564180037042214521895042155957",
"67170289196677513774554607511936790735",
"165105110956425381823196975234931679070",
"334604014592877824598752518582444309021",
"318337559323636694361230088910782980065",
"153100357781458235446272867530478712100",
"67246514326659117880079386974619408895",
"238752057168353386362670775814462124009",
"324582751666311794103440802654940084278",
"66025700206986504055898843757460255825",
"18119816998141791258495421139958620101",
"200283309104214541776612901915596247889",
"190204672674377181530740807511777591245",
"10644788643588683935971628112591476689",
"24684779579299978608247500737549465111"
]
},
"id": "CVE-2024-56720-1bc31f6d",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@275a9f3ef8fabb0cb282a62b9e164dedba7284c5",
"target": {
"file": "net/core/filter.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 237.0,
"function_hash": "232833799010608836529837683038129348432"
},
"id": "CVE-2024-56720-21c8a206",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d3f5763b3062514a234114e97bbde74d8d702449",
"target": {
"file": "net/core/filter.c",
"function": "sk_msg_shift_left"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"207332471359639077743651848205486335443",
"130820704931051431600612148605849981417",
"224618820272408987722795005947316766440",
"319056974873989294110001042468056192250",
"291440575836126221039647501811895417054",
"273105104470476333122963553914139145657",
"121877465426673347637896943897827404970",
"197381522982046018530583717681915730601",
"179260870866146462330130882624548507810",
"255856227296513197845814988768859505093",
"60420719037459402434964443114488056117",
"79103700530916399675616601862514891507",
"91541985371124908324984628907314726752",
"295234053242475042559556275396419220047",
"32139409486419820637452272943076131466",
"33573334170756145701143225836438037278",
"65930505564180037042214521895042155957",
"67170289196677513774554607511936790735",
"165105110956425381823196975234931679070",
"334604014592877824598752518582444309021",
"318337559323636694361230088910782980065",
"153100357781458235446272867530478712100",
"67246514326659117880079386974619408895",
"238752057168353386362670775814462124009",
"324582751666311794103440802654940084278",
"66025700206986504055898843757460255825",
"18119816998141791258495421139958620101",
"200283309104214541776612901915596247889",
"190204672674377181530740807511777591245",
"10644788643588683935971628112591476689",
"24684779579299978608247500737549465111"
]
},
"id": "CVE-2024-56720-324eb6be",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e1f54c61c4c9a5244eb8159dce60d248f7d97b32",
"target": {
"file": "net/core/filter.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"207332471359639077743651848205486335443",
"130820704931051431600612148605849981417",
"224618820272408987722795005947316766440",
"319056974873989294110001042468056192250",
"291440575836126221039647501811895417054",
"273105104470476333122963553914139145657",
"121877465426673347637896943897827404970",
"197381522982046018530583717681915730601",
"179260870866146462330130882624548507810",
"255856227296513197845814988768859505093",
"60420719037459402434964443114488056117",
"79103700530916399675616601862514891507",
"91541985371124908324984628907314726752",
"295234053242475042559556275396419220047",
"32139409486419820637452272943076131466",
"33573334170756145701143225836438037278",
"65930505564180037042214521895042155957",
"67170289196677513774554607511936790735",
"165105110956425381823196975234931679070",
"334604014592877824598752518582444309021",
"318337559323636694361230088910782980065",
"153100357781458235446272867530478712100",
"67246514326659117880079386974619408895",
"238752057168353386362670775814462124009",
"324582751666311794103440802654940084278",
"66025700206986504055898843757460255825",
"18119816998141791258495421139958620101",
"200283309104214541776612901915596247889",
"190204672674377181530740807511777591245",
"10644788643588683935971628112591476689",
"24684779579299978608247500737549465111"
]
},
"id": "CVE-2024-56720-4285d8c0",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@785180bed9879680d8e5c5e1b54c8ae8d948f4c8",
"target": {
"file": "net/core/filter.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1793.0,
"function_hash": "180109337122009621150222947658639533684"
},
"id": "CVE-2024-56720-4bac7ddd",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d609ba262475db450ba69b8e8a557bd768ac07a",
"target": {
"file": "net/core/filter.c",
"function": "BPF_CALL_4"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1793.0,
"function_hash": "180109337122009621150222947658639533684"
},
"id": "CVE-2024-56720-51e4b9a6",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d26d977633d1d0b8bf9407278189bd0a8d973323",
"target": {
"file": "net/core/filter.c",
"function": "BPF_CALL_4"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1793.0,
"function_hash": "180109337122009621150222947658639533684"
},
"id": "CVE-2024-56720-61dd9535",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98c7ea7d11f2588e8197db042e0291e4ac8f8346",
"target": {
"file": "net/core/filter.c",
"function": "BPF_CALL_4"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 237.0,
"function_hash": "232833799010608836529837683038129348432"
},
"id": "CVE-2024-56720-65c41cb3",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@275a9f3ef8fabb0cb282a62b9e164dedba7284c5",
"target": {
"file": "net/core/filter.c",
"function": "sk_msg_shift_left"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1835.0,
"function_hash": "267176134698612028271853164055358666216"
},
"id": "CVE-2024-56720-65c5f990",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d3f5763b3062514a234114e97bbde74d8d702449",
"target": {
"file": "net/core/filter.c",
"function": "BPF_CALL_4"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"207332471359639077743651848205486335443",
"130820704931051431600612148605849981417",
"224618820272408987722795005947316766440",
"319056974873989294110001042468056192250",
"291440575836126221039647501811895417054",
"273105104470476333122963553914139145657",
"121877465426673347637896943897827404970",
"197381522982046018530583717681915730601",
"179260870866146462330130882624548507810",
"255856227296513197845814988768859505093",
"60420719037459402434964443114488056117",
"79103700530916399675616601862514891507",
"91541985371124908324984628907314726752",
"295234053242475042559556275396419220047",
"32139409486419820637452272943076131466",
"33573334170756145701143225836438037278",
"65930505564180037042214521895042155957",
"67170289196677513774554607511936790735",
"165105110956425381823196975234931679070",
"334604014592877824598752518582444309021",
"318337559323636694361230088910782980065",
"153100357781458235446272867530478712100",
"67246514326659117880079386974619408895",
"238752057168353386362670775814462124009",
"324582751666311794103440802654940084278",
"66025700206986504055898843757460255825",
"18119816998141791258495421139958620101",
"200283309104214541776612901915596247889",
"190204672674377181530740807511777591245",
"10644788643588683935971628112591476689",
"24684779579299978608247500737549465111"
]
},
"id": "CVE-2024-56720-83f788c7",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d26d977633d1d0b8bf9407278189bd0a8d973323",
"target": {
"file": "net/core/filter.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"207332471359639077743651848205486335443",
"130820704931051431600612148605849981417",
"224618820272408987722795005947316766440",
"319056974873989294110001042468056192250",
"291440575836126221039647501811895417054",
"273105104470476333122963553914139145657",
"121877465426673347637896943897827404970",
"197381522982046018530583717681915730601",
"179260870866146462330130882624548507810",
"255856227296513197845814988768859505093",
"60420719037459402434964443114488056117",
"79103700530916399675616601862514891507",
"91541985371124908324984628907314726752",
"295234053242475042559556275396419220047",
"32139409486419820637452272943076131466",
"33573334170756145701143225836438037278",
"65930505564180037042214521895042155957",
"67170289196677513774554607511936790735",
"165105110956425381823196975234931679070",
"334604014592877824598752518582444309021",
"318337559323636694361230088910782980065",
"153100357781458235446272867530478712100",
"67246514326659117880079386974619408895",
"238752057168353386362670775814462124009",
"324582751666311794103440802654940084278",
"66025700206986504055898843757460255825",
"18119816998141791258495421139958620101",
"200283309104214541776612901915596247889",
"190204672674377181530740807511777591245",
"10644788643588683935971628112591476689",
"24684779579299978608247500737549465111"
]
},
"id": "CVE-2024-56720-9b851650",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d609ba262475db450ba69b8e8a557bd768ac07a",
"target": {
"file": "net/core/filter.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 237.0,
"function_hash": "232833799010608836529837683038129348432"
},
"id": "CVE-2024-56720-9cf48858",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@785180bed9879680d8e5c5e1b54c8ae8d948f4c8",
"target": {
"file": "net/core/filter.c",
"function": "sk_msg_shift_left"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"207332471359639077743651848205486335443",
"130820704931051431600612148605849981417",
"224618820272408987722795005947316766440",
"319056974873989294110001042468056192250",
"291440575836126221039647501811895417054",
"273105104470476333122963553914139145657",
"121877465426673347637896943897827404970",
"197381522982046018530583717681915730601",
"179260870866146462330130882624548507810",
"255856227296513197845814988768859505093",
"60420719037459402434964443114488056117",
"79103700530916399675616601862514891507",
"91541985371124908324984628907314726752",
"295234053242475042559556275396419220047",
"32139409486419820637452272943076131466",
"33573334170756145701143225836438037278",
"65930505564180037042214521895042155957",
"67170289196677513774554607511936790735",
"165105110956425381823196975234931679070",
"334604014592877824598752518582444309021",
"318337559323636694361230088910782980065",
"153100357781458235446272867530478712100",
"67246514326659117880079386974619408895",
"238752057168353386362670775814462124009",
"324582751666311794103440802654940084278",
"66025700206986504055898843757460255825",
"18119816998141791258495421139958620101",
"200283309104214541776612901915596247889",
"190204672674377181530740807511777591245",
"10644788643588683935971628112591476689",
"24684779579299978608247500737549465111"
]
},
"id": "CVE-2024-56720-a2568488",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98c7ea7d11f2588e8197db042e0291e4ac8f8346",
"target": {
"file": "net/core/filter.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 237.0,
"function_hash": "232833799010608836529837683038129348432"
},
"id": "CVE-2024-56720-a27922f1",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e1f54c61c4c9a5244eb8159dce60d248f7d97b32",
"target": {
"file": "net/core/filter.c",
"function": "sk_msg_shift_left"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1793.0,
"function_hash": "180109337122009621150222947658639533684"
},
"id": "CVE-2024-56720-b22e6ebb",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@275a9f3ef8fabb0cb282a62b9e164dedba7284c5",
"target": {
"file": "net/core/filter.c",
"function": "BPF_CALL_4"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1793.0,
"function_hash": "180109337122009621150222947658639533684"
},
"id": "CVE-2024-56720-c99cae98",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@785180bed9879680d8e5c5e1b54c8ae8d948f4c8",
"target": {
"file": "net/core/filter.c",
"function": "BPF_CALL_4"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 237.0,
"function_hash": "232833799010608836529837683038129348432"
},
"id": "CVE-2024-56720-d2deb512",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98c7ea7d11f2588e8197db042e0291e4ac8f8346",
"target": {
"file": "net/core/filter.c",
"function": "sk_msg_shift_left"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"207332471359639077743651848205486335443",
"130820704931051431600612148605849981417",
"224618820272408987722795005947316766440",
"319056974873989294110001042468056192250",
"291440575836126221039647501811895417054",
"179260870866146462330130882624548507810",
"255856227296513197845814988768859505093",
"60420719037459402434964443114488056117",
"79103700530916399675616601862514891507",
"91541985371124908324984628907314726752",
"295234053242475042559556275396419220047",
"32139409486419820637452272943076131466",
"33573334170756145701143225836438037278",
"65930505564180037042214521895042155957",
"67170289196677513774554607511936790735",
"165105110956425381823196975234931679070",
"334604014592877824598752518582444309021",
"318337559323636694361230088910782980065",
"153100357781458235446272867530478712100",
"67246514326659117880079386974619408895",
"238752057168353386362670775814462124009",
"324582751666311794103440802654940084278",
"66025700206986504055898843757460255825",
"18119816998141791258495421139958620101",
"200283309104214541776612901915596247889",
"190204672674377181530740807511777591245",
"10644788643588683935971628112591476689",
"24684779579299978608247500737549465111"
]
},
"id": "CVE-2024-56720-dadbafcc",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d3f5763b3062514a234114e97bbde74d8d702449",
"target": {
"file": "net/core/filter.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1793.0,
"function_hash": "180109337122009621150222947658639533684"
},
"id": "CVE-2024-56720-dc6f56f5",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e1f54c61c4c9a5244eb8159dce60d248f7d97b32",
"target": {
"file": "net/core/filter.c",
"function": "BPF_CALL_4"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 237.0,
"function_hash": "232833799010608836529837683038129348432"
},
"id": "CVE-2024-56720-fa981786",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d26d977633d1d0b8bf9407278189bd0a8d973323",
"target": {
"file": "net/core/filter.c",
"function": "sk_msg_shift_left"
}
}
]