# CVE-2024-56659: net: lapb: increase LAPB\_HEADER\_LEN

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-28)
- **Published:** 2024-12-27T15:06:22.298Z
- **Modified:** 2026-06-17T08:12:40.470Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3aa2ef7ffd0451e8f81c249d2a2a68283c6bc700; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 76d856f03d0290cf5392364ecdf74c15ee16b8fd; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c21c7c1c00bcc60cf752ec491bdfd47693f4d3c7; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f0949199651bc87c5ed2c12a7323f441f1af6fe9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 03e661b5e7aa1124f24054df9ab2ee5cb2178973; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2b351355bbd50ae25d096785b6eb31998d2bf765; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a6d75ecee2bf828ac6a1b52724aba0a977e4eaf4
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: lapb: increase LAPB\_HEADER\_LEN

It is unclear if net/lapb code is supposed to be ready for 8021q.

We can at least avoid crashes like the following :

skbuff: skb\_under\_panic: text:ffffffff8aabe1f6 len:24 put:20 head:ffff88802824a400 data:ffff88802824a3fe tail:0x16 end:0x140 dev:nr0.2
------------\[ cut here \]------------
 kernel BUG at net/core/skbuff.c:206 !
Oops: invalid opcode: 0000 \[\#1\] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 5508 Comm: dhcpcd Not tainted 6.12.0-rc7-syzkaller-00144-g66418447d27b \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
 RIP: 0010:skb\_panic net/core/skbuff.c:206 \[inline\]
 RIP: 0010:skb\_under\_panic+0x14b/0x150 net/core/skbuff.c:216
Code: 0d 8d 48 c7 c6 2e 9e 29 8e 48 8b 54 24 08 8b 0c 24 44 8b 44 24 04 4d 89 e9 50 41 54 41 57 41 56 e8 1a 6f 37 02 48 83 c4 20 90 \<0f\> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3
RSP: 0018:ffffc90002ddf638 EFLAGS: 00010282
RAX: 0000000000000086 RBX: dffffc0000000000 RCX: 7a24750e538ff600
RDX: 0000000000000000 RSI: 0000000000000201 RDI: 0000000000000000
RBP: ffff888034a86650 R08: ffffffff8174b13c R09: 1ffff920005bbe60
R10: dffffc0000000000 R11: fffff520005bbe61 R12: 0000000000000140
R13: ffff88802824a400 R14: ffff88802824a3fe R15: 0000000000000016
FS:  00007f2a5990d740(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2631fd CR3: 0000000029504000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
  skb\_push+0xe5/0x100 net/core/skbuff.c:2636
  nr\_header+0x36/0x320 net/netrom/nr\_dev.c:69
  dev\_hard\_header include/linux/netdevice.h:3148 \[inline\]
  vlan\_dev\_hard\_header+0x359/0x480 net/8021q/vlan\_dev.c:83
  dev\_hard\_header include/linux/netdevice.h:3148 \[inline\]
  lapbeth\_data\_transmit+0x1f6/0x2a0 drivers/net/wan/lapbether.c:257
  lapb\_data\_transmit+0x91/0xb0 net/lapb/lapb\_iface.c:447
  lapb\_transmit\_buffer+0x168/0x1f0 net/lapb/lapb\_out.c:149
 lapb\_establish\_data\_link+0x84/0xd0
 lapb\_device\_event+0x4e0/0x670
  notifier\_call\_chain+0x19f/0x3e0 kernel/notifier.c:93
 \_\_dev\_notify\_flags+0x207/0x400
  dev\_change\_flags+0xf0/0x1a0 net/core/dev.c:8922
  devinet\_ioctl+0xa4e/0x1aa0 net/ipv4/devinet.c:1188
  inet\_ioctl+0x3d7/0x4f0 net/ipv4/af\_inet.c:1003
  sock\_do\_ioctl+0x158/0x460 net/socket.c:1227
  sock\_ioctl+0x626/0x8e0 net/socket.c:1346
  vfs\_ioctl fs/ioctl.c:51 \[inline\]
  \_\_do\_sys\_ioctl fs/ioctl.c:907 \[inline\]
  \_\_se\_sys\_ioctl+0xf9/0x170 fs/ioctl.c:893
  do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
  do\_syscall\_64+0xf3/0x230 arch/x86/entry/common.c:83

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3aa2ef7ffd0451e8f81c249d2a2a68283c6bc700; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 76d856f03d0290cf5392364ecdf74c15ee16b8fd; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c21c7c1c00bcc60cf752ec491bdfd47693f4d3c7; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f0949199651bc87c5ed2c12a7323f441f1af6fe9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 03e661b5e7aa1124f24054df9ab2ee5cb2178973; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2b351355bbd50ae25d096785b6eb31998d2bf765; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a6d75ecee2bf828ac6a1b52724aba0a977e4eaf4 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-56659. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56659.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3aa2ef7ffd0451e8f81c249d2a2a68283c6bc700; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 76d856f03d0290cf5392364ecdf74c15ee16b8fd; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c21c7c1c00bcc60cf752ec491bdfd47693f4d3c7; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 3aa2ef7ffd0451e8f81c249d2a2a68283c6bc700, Linux 76d856f03d0290cf5392364ecdf74c15ee16b8fd, Linux 03e661b5e7aa1124f24054df9ab2ee5cb2178973, Linux 2b351355bbd50ae25d096785b6eb31998d2bf765

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.
```

## FAQ

### Is CVE-2024-56659 being exploited?

There is no confirmed exploitation: CVE-2024-56659 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-56659?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-56659?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3aa2ef7ffd0451e8f81c249d2a2a68283c6bc700; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 76d856f03d0290cf5392364ecdf74c15ee16b8fd; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c21c7c1c00bcc60cf752ec491bdfd47693f4d3c7; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f0949199651bc87c5ed2c12a7323f441f1af6fe9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 03e661b5e7aa1124f24054df9ab2ee5cb2178973; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2b351355bbd50ae25d096785b6eb31998d2bf765; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a6d75ecee2bf828ac6a1b52724aba0a977e4eaf4; Linux 2.6.12.

### Is there a fix for CVE-2024-56659?

Yes. Fixed in Linux 3aa2ef7ffd0451e8f81c249d2a2a68283c6bc700, Linux 76d856f03d0290cf5392364ecdf74c15ee16b8fd, Linux 03e661b5e7aa1124f24054df9ab2ee5cb2178973, Linux 2b351355bbd50ae25d096785b6eb31998d2bf765. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-56659?

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.

## References

- patch: <https://git.kernel.org/stable/c/3aa2ef7ffd0451e8f81c249d2a2a68283c6bc700>
- patch: <https://git.kernel.org/stable/c/76d856f03d0290cf5392364ecdf74c15ee16b8fd>
- patch: <https://git.kernel.org/stable/c/c21c7c1c00bcc60cf752ec491bdfd47693f4d3c7>
- patch: <https://git.kernel.org/stable/c/f0949199651bc87c5ed2c12a7323f441f1af6fe9>
- patch: <https://git.kernel.org/stable/c/03e661b5e7aa1124f24054df9ab2ee5cb2178973>
- patch: <https://git.kernel.org/stable/c/2b351355bbd50ae25d096785b6eb31998d2bf765>
- patch: <https://git.kernel.org/stable/c/a6d75ecee2bf828ac6a1b52724aba0a977e4eaf4>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-56659>

HTML: <https://flawdb.com/CVE-2024-56659> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-56659>
