ip6mr: Fix skb_under_panic in ip6mr_cache_report()
Published Sep 17, 2025
7.0
HIGHCVSS 3.1
EPSS 0.19%
Description
skbuff: skb_under_panic: text:ffffffff88771f69 len:56 put:-4 head:ffff88805f86a800 data:ffff887f5f86a850 tail:0x88 end:0x2c0 dev:pim6reg ------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:192! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 2 PID: 22968 Comm: kworker/2:11 Not tainted 6.5.0-rc3-00044-g0a8db05b571a #236 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014 Workqueue: ipv6_addrconf addrconf_dad_work RIP: 0010:skb_panic+0x152/0x1d0 Call Trace: <TASK> skb_push+0xc4/0xe0 ip6mr_cache_report+0xd69/0x19b0 reg_vif_xmit+0x406/0x690 dev_hard_start_xmit+0x17e/0x6e0 __dev_queue_xmit+0x2d6a/0x3d20 vlan_dev_hard_start_xmit+0x3ab/0x5c0 dev_hard_start_xmit+0x17e/0x6e0 __dev_queue_xmit+0x2d6a/0x3d20 neigh_connected_output+0x3ed/0x570 ip6_finish_output2+0x5b5/0x1950 ip6_finish_output+0x693/0x11c0 ip6_output+0x24b/0x880 NF_HOOK.constprop.0+0xfd/0x530 ndisc_send_skb+0x9db/0x1400 ndisc_send_rs+0x12a/0x6c0 addrconf_dad_completed+0x3c9/0xea0 addrconf_dad_work+0x849/0x1420 process_one_work+0xa22/0x16e0 worker_thread+0x679/0x10c0 ret_from_fork+0x28/0x60 ret_from_fork_asm+0x11/0x20
When setup a vlan device on dev pim6reg, DAD ns packet may sent on reg_vif_xmit(). reg_vif_xmit() ip6mr_cache_report() skb_push(skb, -skb_network_offset(pkt));//skb_network_offset(pkt) is 4 And skb_push declared as: void *skb_push(struct sk_buff *skb, unsigned int len); skb->data -= len; //0xffff88805f86a84c - 0xfffffffc = 0xffff887f5f86a850 skb->data is set to 0xffff887f5f86a850, which is invalid mem addr, lead to skb_push() fails.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 2.6.26StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<2.6.26
- Version 4.14.322StatusunaffectedConstraints<=4.14.*
- Version 4.19.291StatusunaffectedConstraints<=4.19.*
- Version 5.10.190StatusunaffectedConstraints<=5.10.*
- Version 5.15.126StatusunaffectedConstraints<=5.15.*
- Version 5.4.253StatusunaffectedConstraints<=5.4.*
- Version 6.1.45StatusunaffectedConstraints<=6.1.*
- Version 6.4.10StatusunaffectedConstraints<=6.4.*
- Version 6.5StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| |||||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 2.6.26 · < 4.14.322
- ≥ 4.15 · < 4.19.291
- ≥ 4.20 · < 5.4.253
- ≥ 5.5 · < 5.10.190
- ≥ 5.11 · < 5.15.126
- ≥ 5.16 · < 6.1.45
- ≥ 6.2 · < 6.4.10
- 6.5
- 6.5
- 6.5
- 6.5
No data.
Red Hat Enterprise Linux 7 Extended Lifecycle Support
kernel-0:3.10.0-1160.143.1.el7
Fixed · RHSA-2025:22910
Red Hat Enterprise Linux 7 Extended Lifecycle Support
kernel-rt-0:3.10.0-1160.143.1.rt56.1295.el7
Fixed · RHSA-2025:22914
Red Hat Enterprise Linux 8
kernel-0:4.18.0-553.el8_10
Fixed · RHSA-2024:3138
Red Hat Enterprise Linux 8.2 Advanced Update Support
kernel-0:4.18.0-193.178.1.el8_2
Fixed · RHSA-2025:23445
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
kernel-0:4.18.0-305.182.1.el8_4
Fixed · RHSA-2025:23463
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
kernel-0:4.18.0-305.182.1.el8_4
Fixed · RHSA-2025:23463
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
kernel-0:4.18.0-372.170.1.el8_6
Fixed · RHSA-2025:22006
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
kernel-0:4.18.0-372.170.1.el8_6
Fixed · RHSA-2025:22006
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
kernel-0:4.18.0-372.170.1.el8_6
Fixed · RHSA-2025:22006
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
kernel-0:4.18.0-477.120.1.el8_8
Fixed · RHSA-2025:22072
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
kernel-0:4.18.0-477.120.1.el8_8
Fixed · RHSA-2025:22072
Red Hat Enterprise Linux 9
kernel-0:5.14.0-427.13.1.el9_4
Fixed · RHSA-2024:2394
Red Hat Enterprise Linux 9
kernel-0:5.14.0-427.13.1.el9_4
Fixed · RHSA-2024:2394
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
kernel-0:5.14.0-70.155.1.el9_0
Fixed · RHSA-2025:22066
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
kernel-rt-0:5.14.0-70.155.1.rt21.227.el9_0
Fixed · RHSA-2025:22087
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
kernel-0:5.14.0-284.148.1.el9_2
Fixed · RHSA-2025:22095
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
kernel-rt-0:5.14.0-284.148.1.rt14.433.el9_2
Fixed · RHSA-2025:22124
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Out of support scope
Red Hat Enterprise Linux 8
kernel-rt
Affected
Red Hat Enterprise Linux 9
kernel-rt
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | kernel-0:3.10.0-1160.143.1.el7 | Fixed | RHSA-2025:22910 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | kernel-rt-0:3.10.0-1160.143.1.rt56.1295.el7 | Fixed | RHSA-2025:22914 |
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-553.el8_10 | Fixed | RHSA-2024:3138 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | kernel-0:4.18.0-193.178.1.el8_2 | Fixed | RHSA-2025:23445 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | kernel-0:4.18.0-305.182.1.el8_4 | Fixed | RHSA-2025:23463 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | kernel-0:4.18.0-305.182.1.el8_4 | Fixed | RHSA-2025:23463 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | kernel-0:4.18.0-372.170.1.el8_6 | Fixed | RHSA-2025:22006 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | kernel-0:4.18.0-372.170.1.el8_6 | Fixed | RHSA-2025:22006 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | kernel-0:4.18.0-372.170.1.el8_6 | Fixed | RHSA-2025:22006 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | kernel-0:4.18.0-477.120.1.el8_8 | Fixed | RHSA-2025:22072 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | kernel-0:4.18.0-477.120.1.el8_8 | Fixed | RHSA-2025:22072 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-427.13.1.el9_4 | Fixed | RHSA-2024:2394 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-427.13.1.el9_4 | Fixed | RHSA-2024:2394 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | kernel-0:5.14.0-70.155.1.el9_0 | Fixed | RHSA-2025:22066 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | kernel-rt-0:5.14.0-70.155.1.rt21.227.el9_0 | Fixed | RHSA-2025:22087 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | kernel-0:5.14.0-284.148.1.el9_2 | Fixed | RHSA-2025:22095 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | kernel-rt-0:5.14.0-284.148.1.rt14.433.el9_2 | Fixed | RHSA-2025:22124 |
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (13)
- https://access.redhat.com/security/cve/CVE-2023-53365 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2396130 Issue Tracking
- https://git.kernel.org/stable/c/0438e60a00d4e335b3c36397dbf26c74b5d13ef0 Patch
- https://git.kernel.org/stable/c/1683124129a4263dd5bce2475bab110e95fa0346 Patch
- https://git.kernel.org/stable/c/1bb54a21f4d9b88442f8c3307c780e2db64417e4 Patch
- https://git.kernel.org/stable/c/30e0191b16e8a58e4620fa3e2839ddc7b9d4281c Patch
- https://git.kernel.org/stable/c/3326c711f18d18fe6e1f5d83d3a7eab07e5a1560 Patch
- https://git.kernel.org/stable/c/691a09eecad97e745b9aa0e3918db46d020bdacb Patch
- https://git.kernel.org/stable/c/8382e7ed2d63e6c2daf6881fa091526dc6c879cd Patch
- https://git.kernel.org/stable/c/a96d74d1076c82a4cef02c150d9996b21354c78d Patch
- https://lore.kernel.org/linux-cve-announce/2025091723-CVE-2023-53365-acb1@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2023-53365
- https://www.cve.org/CVERecord?id=CVE-2023-53365
Change history (0)
No recorded changes yet.