CVE-2024-56648
net: hsr: avoid potential out-of-bound access in fill_frame_info()
Mitigation
- Upgrade Linux to 5.13 or later.
Who should check
- Anyone running Linux >= f6442ee08fe66c8e45c4f246531a2aaf4f17a7a7, < aa632691c722a123e47ccd05a3afdd5f87a36061; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < c6e778901d0055356c4fb223058364cae731494a; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < 6bb5c8ebc99f0671dbd3c9408ebaf935c3951186; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < 3c215663b3e27a3b08cefcaea623ff54c70c8035; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < 7ea527fbd7b94d0bee64a0a7e98279bcc654b322; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < b9653d19e556c6afd035602927a93d100a0d7644; 4ffd1d4a6b306ff69cbe412d2c54d2dd349ff436; >= 5.10.42, < 5.10.231; >= 5.12.9, < 5.13
- Anyone running Linux 5.13
Vulnerability facts
- Affected
- Linux >= f6442ee08fe66c8e45c4f246531a2aaf4f17a7a7, < aa632691c722a123e47ccd05a3afdd5f87a36061; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < c6e778901d0055356c4fb223058364cae731494a; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < 6bb5c8ebc99f0671dbd3c9408ebaf935c3951186; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < 3c215663b3e27a3b08cefcaea623ff54c70c8035; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < 7ea527fbd7b94d0bee64a0a7e98279bcc654b322; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < b9653d19e556c6afd035602927a93d100a0d7644; 4ffd1d4a6b306ff69cbe412d2c54d2dd349ff436; >= 5.10.42, < 5.10.231; >= 5.12.9, < 5.13; Linux 5.13
- Fixed in
- Linux 6bb5c8ebc99f0671dbd3c9408ebaf935c3951186, Linux 3c215663b3e27a3b08cefcaea623ff54c70c8035, Linux 7ea527fbd7b94d0bee64a0a7e98279bcc654b322, Linux 5.10.231, Linux 5.13
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-908
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net: hsr: avoid potential out-of-bound access in fill_frame_info() syzbot is able to feed a packet with 14 bytes, pretending it is a vlan one. Since fill_frame_info() is relying on skb->mac_len already, extend the check to cover this case. BUG: KMSAN: uninit-value in fill_frame_info net/hsr/hsr_forward.c:709 [inline] BUG: KMSAN: uninit-value in hsr_forward_skb+0x9ee/0x3b10 net/hsr/hsr_forward.c:724 fill_frame_info net/hsr/hsr_forward.c:709 [inline] hsr_forward_skb+0x9ee/0x3b10 net/hsr/hsr_forward.c:724 hsr_dev_xmit+0x2f0/0x350 net/hsr/hsr_device.c:235 __netdev_start_xmit include/linux/netdevice.h:5002 [inline] netdev_start_xmit include/linux/netdevice.h:5011 [inline] xmit_one net/core/dev.c:3590 [inline] dev_hard_start_xmit+0x247/0xa20 net/core/dev.c:3606 __dev_queue_xmit+0x366a/0x57d0 net/core/dev.c:4434 dev_queue_xmit include/linux/netdevice.h:3168 [inline] packet_xmit+0x9c/0x6c0 net/packet/af_packet.c:276 packet_snd net/packet/af_packet.c:3146 [inline] packet_sendmsg+0x91ae/0xa6f0 net/packet/af_packet.c:3178 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg+0x30f/0x380 net/socket.c:726 __sys_sendto+0x594/0x750 net/socket.c:2197 __do_sys_sendto net/socket.c:2204 [inline] __se_sys_sendto net/socket.c:2200 [inline] __x64_sys_sendto+0x125/0x1d0 net/socket.c:2200 x64_sys_call+0x346a/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:45 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: slab_post_alloc_hook mm/slub.c:4091 [inline] slab_alloc_node mm/slub.c:4134 [inline] kmem_cache_alloc_node_noprof+0x6bf/0xb80 mm/slub.c:4186 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:587 __alloc_skb+0x363/0x7b0 net/core/skbuff.c:678 alloc_skb include/linux/skbuff.h:1323 [inline] alloc_skb_with_frags+0xc8/0xd00 net/core/skbuff.c:6612 sock_alloc_send_pskb+0xa81/0xbf0 net/core/sock.c:2881 packet_alloc_skb net/packet/af_packet.c:2995 [inline] packet_snd net/packet/af_packet.c:3089 [inline] packet_sendmsg+0x74c6/0xa6f0 net/packet/af_packet.c:3178 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg+0x30f/0x380 net/socket.c:726 __sys_sendto+0x594/0x750 net/socket.c:2197 __do_sys_sendto net/socket.c:2204 [inline] __se_sys_sendto net/socket.c:2200 [inline] __x64_sys_sendto+0x125/0x1d0 net/socket.c:2200 x64_sys_call+0x346a/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:45 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f6442ee08fe66c8e45c4f246531a2aaf4f17a7a7, < aa632691c722a123e47ccd05a3afdd5f87a36061; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < c6e778901d0055356c4fb223058364cae731494a; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < 6bb5c8ebc99f0671dbd3c9408ebaf935c3951186; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < 3c215663b3e27a3b08cefcaea623ff54c70c8035; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < 7ea527fbd7b94d0bee64a0a7e98279bcc654b322; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < b9653d19e556c6afd035602927a93d100a0d7644; 4ffd1d4a6b306ff69cbe412d2c54d2dd349ff436; >= 5.10.42, < 5.10.231; >= 5.12.9, < 5.13 | — | cvelist |
| Linux | 5.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-56648. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-56648.md Affected: Linux >= f6442ee08fe66c8e45c4f246531a2aaf4f17a7a7, < aa632691c722a123e47ccd05a3afdd5f87a36061; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < c6e778901d0055356c4fb223058364cae731494a; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < 6bb5c8ebc99f0671dbd3c9408ebaf935c3951186; >= 48b491a5cc74333c4a6a82f… Fixed in: Linux 6bb5c8ebc99f0671dbd3c9408ebaf935c3951186, Linux 3c215663b3e27a3b08cefcaea623ff54c70c8035, Linux 7ea527fbd7b94d0bee64a0a7e98279bcc654b322, Linux 5.10.231, Linux 5.13 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/aa632691c722a123e47ccd05a3afdd5f87a36061
- https://git.kernel.org/stable/c/c6e778901d0055356c4fb223058364cae731494a
- https://git.kernel.org/stable/c/6bb5c8ebc99f0671dbd3c9408ebaf935c3951186
- https://git.kernel.org/stable/c/3c215663b3e27a3b08cefcaea623ff54c70c8035
- https://git.kernel.org/stable/c/7ea527fbd7b94d0bee64a0a7e98279bcc654b322
- https://git.kernel.org/stable/c/b9653d19e556c6afd035602927a93d100a0d7644
FAQ
Is CVE-2024-56648 being exploited?
There is no confirmed exploitation: CVE-2024-56648 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-56648?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-56648?
Linux >= f6442ee08fe66c8e45c4f246531a2aaf4f17a7a7, < aa632691c722a123e47ccd05a3afdd5f87a36061; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < c6e778901d0055356c4fb223058364cae731494a; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < 6bb5c8ebc99f0671dbd3c9408ebaf935c3951186; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < 3c215663b3e27a3b08cefcaea623ff54c70c8035; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < 7ea527fbd7b94d0bee64a0a7e98279bcc654b322; >= 48b491a5cc74333c4a6a82fe21cea42c055a3b0b, < b9653d19e556c6afd035602927a93d100a0d7644; 4ffd1d4a6b306ff69cbe412d2c54d2dd349ff436; >= 5.10.42, < 5.10.231; >= 5.12.9, < 5.13; Linux 5.13.
Is there a fix for CVE-2024-56648?
Yes. Fixed in Linux 6bb5c8ebc99f0671dbd3c9408ebaf935c3951186, Linux 3c215663b3e27a3b08cefcaea623ff54c70c8035, Linux 7ea527fbd7b94d0bee64a0a7e98279bcc654b322, Linux 5.10.231, Linux 5.13. Upgrade Linux to 5.13 or later.
How do I check if I'm affected by CVE-2024-56648?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.