In the Linux kernel, the following vulnerability has been resolved:
ipmr: fix kernel panic when forwarding mcast packets
The stacktrace was: [ 86.305548] BUG: kernel NULL pointer dereference, address: 0000000000000092 [ 86.306815] #PF: supervisor read access in kernel mode [ 86.307717] #PF: errorcode(0x0000) - not-present page [ 86.308624] PGD 0 P4D 0 [ 86.309091] Oops: 0000 [#1] PREEMPT SMP NOPTI [ 86.309883] CPU: 2 PID: 3139 Comm: pimd Tainted: G U 6.8.0-6wind-knet #1 [ 86.311027] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.11.1-0-g0551a4be2c-prebuilt.qemu-project.org 04/01/2014 [ 86.312728] RIP: 0010:ipmrforward (/build/work/knet/net/ipv4/ipmr.c:1985) [ 86.313399] Code: f9 1f 0f 87 85 03 00 00 48 8d 04 5b 48 8d 04 83 49 8d 44 c5 00 48 8b 40 70 48 39 c2 0f 84 d9 00 00 00 49 8b 46 58 48 83 e0 fe <80> b8 92 00 00 00 00 0f 84 55 ff ff ff 49 83 47 38 01 45 85 e4 0f [ 86.316565] RSP: 0018:ffffad21c0583ae0 EFLAGS: 00010246 [ 86.317497] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 86.318596] RDX: ffff9559cb46c000 RSI: 0000000000000000 RDI: 0000000000000000 [ 86.319627] RBP: ffffad21c0583b30 R08: 0000000000000000 R09: 0000000000000000 [ 86.320650] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 [ 86.321672] R13: ffff9559c093a000 R14: ffff9559cc00b800 R15: ffff9559c09c1d80 [ 86.322873] FS: 00007f85db661980(0000) GS:ffff955a79d00000(0000) knlGS:0000000000000000 [ 86.324291] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 86.325314] CR2: 0000000000000092 CR3: 000000002f13a000 CR4: 0000000000350ef0 [ 86.326589] Call Trace: [ 86.327036] <TASK> [ 86.327434] ? showregs (/build/work/knet/arch/x86/kernel/dumpstack.c:479) [ 86.328049] ? _die (/build/work/knet/arch/x86/kernel/dumpstack.c:421 /build/work/knet/arch/x86/kernel/dumpstack.c:434) [ 86.328508] ? pagefaultoops (/build/work/knet/arch/x86/mm/fault.c:707) [ 86.329107] ? douseraddrfault (/build/work/knet/arch/x86/mm/fault.c:1264) [ 86.329756] ? srsoreturnthunk (/build/work/knet/arch/x86/lib/retpoline.S:223) [ 86.330350] ? _irqworkqueuelocal (/build/work/knet/kernel/irqwork.c:111 (discriminator 1)) [ 86.331013] ? excpagefault (/build/work/knet/./arch/x86/include/asm/paravirt.h:693 /build/work/knet/arch/x86/mm/fault.c:1515 /build/work/knet/arch/x86/mm/fault.c:1563) [ 86.331702] ? asmexcpagefault (/build/work/knet/./arch/x86/include/asm/idtentry.h:570) [ 86.332468] ? ipmrforward (/build/work/knet/net/ipv4/ipmr.c:1985) [ 86.333183] ? srsoreturnthunk (/build/work/knet/arch/x86/lib/retpoline.S:223) [ 86.333920] ipmrmfcadd (/build/work/knet/./include/linux/rcupdate.h:782 /build/work/knet/net/ipv4/ipmr.c:1009 /build/work/knet/net/ipv4/ipmr.c:1273) [ 86.334583] ? _pfxipmrhashcmp (/build/work/knet/net/ipv4/ipmr.c:363) [ 86.335357] ipmroutesetsockopt (/build/work/knet/net/ipv4/ipmr.c:1470) [ 86.336135] ? srsoreturnthunk (/build/work/knet/arch/x86/lib/retpoline.S:223) [ 86.336854] ? ipmroutesetsockopt (/build/work/knet/net/ipv4/ipmr.c:1470) [ 86.337679] doipsetsockopt (/build/work/knet/net/ipv4/ipsockglue.c:944) [ 86.338408] ? _pfxunixstreamreadactor (/build/work/knet/net/unix/afunix.c:2862) [ 86.339232] ? srsoreturnthunk (/build/work/knet/arch/x86/lib/retpoline.S:223) [ 86.339809] ? aaskperm (/build/work/knet/security/apparmor/include/cred.h:153 /build/work/knet/security/apparmor/net.c:181) [ 86.340342] ipsetsockopt (/build/work/knet/net/ipv4/ipsockglue.c:1415) [ 86.340859] rawsetsockopt (/build/work/knet/net/ipv4/raw.c:836) [ 86.341408] ? securitysocketsetsockopt (/build/work/knet/security/security.c:4561 (discriminator 13)) [ 86.342116] sockcommonsetsockopt (/build/work/knet/net/core/sock.c:3716) [ 86.342747] dosocksetsockopt (/build/work/knet/net/socket.c:2313) [ 86.343363] _syssetsockopt (/build/work/knet/./include/linux/file.h:32 /build/work/kn ---truncated---
{ "vanir_signatures": [ { "id": "CVE-2024-26626-012843db", "signature_type": "Function", "target": { "file": "net/ipv4/ipmr.c", "function": "ipmr_cache_report" }, "signature_version": "v1", "digest": { "length": 1821.0, "function_hash": "131866021607851699354252749194896320798" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724" }, { "id": "CVE-2024-26626-0cdcb30e", "signature_type": "Function", "target": { "file": "net/ipv4/ipmr.c", "function": "ipmr_cache_report" }, "signature_version": "v1", "digest": { "length": 1821.0, "function_hash": "131866021607851699354252749194896320798" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207" }, { "id": "CVE-2024-26626-21fc3273", "signature_type": "Function", "target": { "file": "net/ipv4/udp.c", "function": "udp_queue_rcv_one_skb" }, "signature_version": "v1", "digest": { "length": 1682.0, "function_hash": "209127568999352586483480564091754801072" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207" }, { "id": "CVE-2024-26626-2237b469", "signature_type": "Function", "target": { "file": "net/ipv4/udp.c", "function": "udp_queue_rcv_one_skb" }, "signature_version": "v1", "digest": { "length": 1682.0, "function_hash": "209127568999352586483480564091754801072" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e622502c310f1069fd9f41cd38210553115f610a" }, { "id": "CVE-2024-26626-2d758f8b", "signature_type": "Line", "target": { "file": "net/ipv4/ip_sockglue.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "238283348405399218707693992948803610333", "44349016643647773299606584936655685393", "9725180891967437151476854263875747082", "231478265307678293652980893005155343846", "299403172319801379264805393795885286703", "100134460949411236402764988591876346497", "122531426255964040996906091628921456716", "63721264952442704239912378805655195734" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dcaafdba6c6162bb49f1192850bc3bbc3707738c" }, { "id": "CVE-2024-26626-2dbc6a72", "signature_type": "Line", "target": { "file": "net/ipv4/ipmr.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "29015106293223618496549630744193898073", "159793218962993183003874881794215272239", "241017801395765692728205807614828465158", "260668509752939838439860298140772964419" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e622502c310f1069fd9f41cd38210553115f610a" }, { "id": "CVE-2024-26626-35b1d606", "signature_type": "Line", "target": { "file": "net/ipv4/raw.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "209735170783406154798384279702601851268", "288217720693253703527827129990745647541", "202791739007776035830950876364002846184", "158900837199608760609335349558852734278" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207" }, { "id": "CVE-2024-26626-37e2045b", "signature_type": "Function", "target": { "file": "net/ipv4/raw.c", "function": "raw_rcv_skb" }, "signature_version": "v1", "digest": { "length": 222.0, "function_hash": "304003910484479858188279985066292514658" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dcaafdba6c6162bb49f1192850bc3bbc3707738c" }, { "id": "CVE-2024-26626-3fde36dd", "signature_type": "Line", "target": { "file": "net/ipv4/ip_sockglue.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "238283348405399218707693992948803610333", "44349016643647773299606584936655685393", "9725180891967437151476854263875747082", "290576731615052556272641064763337234439", "299403172319801379264805393795885286703", "100134460949411236402764988591876346497", "122531426255964040996906091628921456716", "63721264952442704239912378805655195734" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724" }, { "id": "CVE-2024-26626-4229aa09", "signature_type": "Line", "target": { "file": "include/net/ip.h" }, "signature_version": "v1", "digest": { "line_hashes": [ "216033526038748486695146802025536265898", "243414847887974632474735088927125655826", "101863159341746968561429610060636759868", "51351559003913127965069515419044296937" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e622502c310f1069fd9f41cd38210553115f610a" }, { "id": "CVE-2024-26626-42311ce6", "signature_type": "Function", "target": { "file": "net/ipv4/udp.c", "function": "udp_queue_rcv_one_skb" }, "signature_version": "v1", "digest": { "length": 1682.0, "function_hash": "209127568999352586483480564091754801072" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dcaafdba6c6162bb49f1192850bc3bbc3707738c" }, { "id": "CVE-2024-26626-42a4027a", "signature_type": "Line", "target": { "file": "net/ipv4/udp.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "270524921558290152268063019429900031448", "291375916249672551617772965638979893530", "295188483856629440616269260036392267583", "50260513143051688452966668510546117100" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724" }, { "id": "CVE-2024-26626-49c5985f", "signature_type": "Line", "target": { "file": "net/ipv4/udp.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "270524921558290152268063019429900031448", "291375916249672551617772965638979893530", "295188483856629440616269260036392267583", "50260513143051688452966668510546117100" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dcaafdba6c6162bb49f1192850bc3bbc3707738c" }, { "id": "CVE-2024-26626-4d834e83", "signature_type": "Line", "target": { "file": "net/ipv4/ip_sockglue.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "238283348405399218707693992948803610333", "44349016643647773299606584936655685393", "9725180891967437151476854263875747082", "231478265307678293652980893005155343846", "299403172319801379264805393795885286703", "100134460949411236402764988591876346497", "122531426255964040996906091628921456716", "63721264952442704239912378805655195734" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e622502c310f1069fd9f41cd38210553115f610a" }, { "id": "CVE-2024-26626-51e4ade2", "signature_type": "Function", "target": { "file": "net/ipv4/ipmr.c", "function": "ipmr_cache_report" }, "signature_version": "v1", "digest": { "length": 1821.0, "function_hash": "131866021607851699354252749194896320798" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e622502c310f1069fd9f41cd38210553115f610a" }, { "id": "CVE-2024-26626-552a54f2", "signature_type": "Line", "target": { "file": "include/net/ip.h" }, "signature_version": "v1", "digest": { "line_hashes": [ "216033526038748486695146802025536265898", "243414847887974632474735088927125655826", "101863159341746968561429610060636759868", "51351559003913127965069515419044296937" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724" }, { "id": "CVE-2024-26626-5a46d82e", "signature_type": "Function", "target": { "file": "net/ipv4/ip_sockglue.c", "function": "ipv4_pktinfo_prepare" }, "signature_version": "v1", "digest": { "length": 592.0, "function_hash": "160583939799559823854749726580583533903" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207" }, { "id": "CVE-2024-26626-61966673", "signature_type": "Function", "target": { "file": "net/ipv4/raw.c", "function": "raw_rcv_skb" }, "signature_version": "v1", "digest": { "length": 222.0, "function_hash": "304003910484479858188279985066292514658" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207" }, { "id": "CVE-2024-26626-636a06c6", "signature_type": "Line", "target": { "file": "net/ipv4/ipmr.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "29015106293223618496549630744193898073", "159793218962993183003874881794215272239", "241017801395765692728205807614828465158", "260668509752939838439860298140772964419" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724" }, { "id": "CVE-2024-26626-767e85ac", "signature_type": "Line", "target": { "file": "include/net/ip.h" }, "signature_version": "v1", "digest": { "line_hashes": [ "216033526038748486695146802025536265898", "243414847887974632474735088927125655826", "101863159341746968561429610060636759868", "51351559003913127965069515419044296937" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dcaafdba6c6162bb49f1192850bc3bbc3707738c" }, { "id": "CVE-2024-26626-786327cf", "signature_type": "Line", "target": { "file": "net/ipv4/udp.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "270524921558290152268063019429900031448", "291375916249672551617772965638979893530", "295188483856629440616269260036392267583", "50260513143051688452966668510546117100" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e622502c310f1069fd9f41cd38210553115f610a" }, { "id": "CVE-2024-26626-83fce396", "signature_type": "Function", "target": { "file": "net/ipv4/ipmr.c", "function": "ipmr_cache_report" }, "signature_version": "v1", "digest": { "length": 1821.0, "function_hash": "131866021607851699354252749194896320798" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dcaafdba6c6162bb49f1192850bc3bbc3707738c" }, { "id": "CVE-2024-26626-8682432b", "signature_type": "Function", "target": { "file": "net/ipv4/ip_sockglue.c", "function": "ipv4_pktinfo_prepare" }, "signature_version": "v1", "digest": { "length": 618.0, "function_hash": "246261931106245343679625602427637553565" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724" }, { "id": "CVE-2024-26626-8e026e0b", "signature_type": "Line", "target": { "file": "net/ipv4/raw.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "209735170783406154798384279702601851268", "288217720693253703527827129990745647541", "202791739007776035830950876364002846184", "158900837199608760609335349558852734278" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e622502c310f1069fd9f41cd38210553115f610a" }, { "id": "CVE-2024-26626-a857c2e4", "signature_type": "Line", "target": { "file": "net/ipv4/raw.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "209735170783406154798384279702601851268", "288217720693253703527827129990745647541", "202791739007776035830950876364002846184", "158900837199608760609335349558852734278" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dcaafdba6c6162bb49f1192850bc3bbc3707738c" }, { "id": "CVE-2024-26626-adce665f", "signature_type": "Function", "target": { "file": "net/ipv4/raw.c", "function": "raw_rcv_skb" }, "signature_version": "v1", "digest": { "length": 222.0, "function_hash": "304003910484479858188279985066292514658" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e622502c310f1069fd9f41cd38210553115f610a" }, { "id": "CVE-2024-26626-c73422ec", "signature_type": "Line", "target": { "file": "include/net/ip.h" }, "signature_version": "v1", "digest": { "line_hashes": [ "216033526038748486695146802025536265898", "243414847887974632474735088927125655826", "101863159341746968561429610060636759868", "51351559003913127965069515419044296937" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207" }, { "id": "CVE-2024-26626-c839bae6", "signature_type": "Line", "target": { "file": "net/ipv4/ipmr.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "29015106293223618496549630744193898073", "159793218962993183003874881794215272239", "241017801395765692728205807614828465158", "260668509752939838439860298140772964419" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dcaafdba6c6162bb49f1192850bc3bbc3707738c" }, { "id": "CVE-2024-26626-cc104a47", "signature_type": "Line", "target": { "file": "net/ipv4/ipmr.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "29015106293223618496549630744193898073", "159793218962993183003874881794215272239", "241017801395765692728205807614828465158", "260668509752939838439860298140772964419" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207" }, { "id": "CVE-2024-26626-ceb45d87", "signature_type": "Line", "target": { "file": "net/ipv4/udp.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "270524921558290152268063019429900031448", "291375916249672551617772965638979893530", "295188483856629440616269260036392267583", "50260513143051688452966668510546117100" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207" }, { "id": "CVE-2024-26626-d5b0c94e", "signature_type": "Line", "target": { "file": "net/ipv4/raw.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "209735170783406154798384279702601851268", "288217720693253703527827129990745647541", "202791739007776035830950876364002846184", "158900837199608760609335349558852734278" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724" }, { "id": "CVE-2024-26626-e36e4851", "signature_type": "Function", "target": { "file": "net/ipv4/udp.c", "function": "udp_queue_rcv_one_skb" }, "signature_version": "v1", "digest": { "length": 1673.0, "function_hash": "2011860084208277730625337476235400081" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724" }, { "id": "CVE-2024-26626-e41b578d", "signature_type": "Line", "target": { "file": "net/ipv4/ip_sockglue.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "238283348405399218707693992948803610333", "44349016643647773299606584936655685393", "9725180891967437151476854263875747082", "231478265307678293652980893005155343846", "299403172319801379264805393795885286703", "100134460949411236402764988591876346497", "122531426255964040996906091628921456716", "63721264952442704239912378805655195734" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e8c9ae40adda2be1ba41c05fd3cd1e61cce3207" }, { "id": "CVE-2024-26626-f22627bf", "signature_type": "Function", "target": { "file": "net/ipv4/raw.c", "function": "raw_rcv_skb" }, "signature_version": "v1", "digest": { "length": 222.0, "function_hash": "304003910484479858188279985066292514658" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724" }, { "id": "CVE-2024-26626-f3fb6095", "signature_type": "Function", "target": { "file": "net/ipv4/ip_sockglue.c", "function": "ipv4_pktinfo_prepare" }, "signature_version": "v1", "digest": { "length": 592.0, "function_hash": "160583939799559823854749726580583533903" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dcaafdba6c6162bb49f1192850bc3bbc3707738c" }, { "id": "CVE-2024-26626-ffb6320c", "signature_type": "Function", "target": { "file": "net/ipv4/ip_sockglue.c", "function": "ipv4_pktinfo_prepare" }, "signature_version": "v1", "digest": { "length": 592.0, "function_hash": "160583939799559823854749726580583533903" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e622502c310f1069fd9f41cd38210553115f610a" } ] }