# CVE-2024-26733: arp: Prevent overflow in arp\_req\_get().

> 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, NVD) `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.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2024-04-03T17:00:20.437Z
- **Modified:** 2026-06-17T07:18:12.250Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dbc9b22d0ed319b4e29034ce0a3fe32a3ee2c587; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 97eaa2955db4120ce6ec2ef123e860bc32232c50; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f119f2325ba70cbfdec701000dcad4d88805d5b0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a3f2c083cb575d80a7627baf3339e78fedccbb91; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3ab0d6f8289ba8402ca95a9fc61a34909d5e1f3a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a7d6027790acea24446ddd6632d394096c0f4667
- Anyone running Linux 2.6.12

## Description

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

arp: Prevent overflow in arp\_req\_get().

syzkaller reported an overflown write in arp\_req\_get(). \[0\]

When ioctl(SIOCGARP) is issued, arp\_req\_get() looks up an neighbour
entry and copies neigh-\>ha to struct arpreq.arp\_ha.sa\_data.

The arp\_ha here is struct sockaddr, not struct sockaddr\_storage, so
the sa\_data buffer is just 14 bytes.

In the splat below, 2 bytes are overflown to the next int field,
arp\_flags.  We initialise the field just after the memcpy(), so it's
not a problem.

However, when dev-\>addr\_len is greater than 22 (e.g. MAX\_ADDR\_LEN),
arp\_netmask is overwritten, which could be set as htonl(0xFFFFFFFFUL)
in arp\_ioctl() before calling arp\_req\_get().

To avoid the overflow, let's limit the max length of memcpy().

Note that commit b5f0de6df6dc ("net: dev: Convert sa\_data to flexible
array in struct sockaddr") just silenced syzkaller.

\[0\]:
memcpy: detected field-spanning write (size 16) of single field "r-\>arp\_ha.sa\_data" at net/ipv4/arp.c:1128 (size 14)
WARNING: CPU: 0 PID: 144638 at net/ipv4/arp.c:1128 arp\_req\_get+0x411/0x4a0 net/ipv4/arp.c:1128
Modules linked in:
CPU: 0 PID: 144638 Comm: syz-executor.4 Not tainted 6.1.74 \#31
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.0-debian-1.16.0-5 04/01/2014
RIP: 0010:arp\_req\_get+0x411/0x4a0 net/ipv4/arp.c:1128
Code: fd ff ff e8 41 42 de fb b9 0e 00 00 00 4c 89 fe 48 c7 c2 20 6d ab 87 48 c7 c7 80 6d ab 87 c6 05 25 af 72 04 01 e8 5f 8d ad fb \<0f\> 0b e9 6c fd ff ff e8 13 42 de fb be 03 00 00 00 4c 89 e7 e8 a6
RSP: 0018:ffffc900050b7998 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88803a815000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8641a44a RDI: 0000000000000001
RBP: ffffc900050b7a98 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 203a7970636d656d R12: ffff888039c54000
R13: 1ffff92000a16f37 R14: ffff88803a815084 R15: 0000000000000010
FS:  00007f172bf306c0(0000) GS:ffff88805aa00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f172b3569f0 CR3: 0000000057f12005 CR4: 0000000000770ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
PKRU: 55555554
Call Trace:
 \<TASK\>
 arp\_ioctl+0x33f/0x4b0 net/ipv4/arp.c:1261
 inet\_ioctl+0x314/0x3a0 net/ipv4/af\_inet.c:981
 sock\_do\_ioctl+0xdf/0x260 net/socket.c:1204
 sock\_ioctl+0x3ef/0x650 net/socket.c:1321
 vfs\_ioctl fs/ioctl.c:51 \[inline\]
 \_\_do\_sys\_ioctl fs/ioctl.c:870 \[inline\]
 \_\_se\_sys\_ioctl fs/ioctl.c:856 \[inline\]
 \_\_x64\_sys\_ioctl+0x18e/0x220 fs/ioctl.c:856
 do\_syscall\_x64 arch/x86/entry/common.c:51 \[inline\]
 do\_syscall\_64+0x37/0x90 arch/x86/entry/common.c:81
 entry\_SYSCALL\_64\_after\_hwframe+0x64/0xce
RIP: 0033:0x7f172b262b8d
Code: 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \<48\> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f172bf300b8 EFLAGS: 00000246 ORIG\_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f172b3abf80 RCX: 00007f172b262b8d
RDX: 0000000020000000 RSI: 0000000000008954 RDI: 0000000000000003
RBP: 00007f172b2d3493 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f172b3abf80 R15: 00007f172bf10000
 \</TASK\>

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dbc9b22d0ed319b4e29034ce0a3fe32a3ee2c587; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 97eaa2955db4120ce6ec2ef123e860bc32232c50; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f119f2325ba70cbfdec701000dcad4d88805d5b0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a3f2c083cb575d80a7627baf3339e78fedccbb91; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3ab0d6f8289ba8402ca95a9fc61a34909d5e1f3a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a7d6027790acea24446ddd6632d394096c0f4667 (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-26733. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26733.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < dbc9b22d0ed319b4e29034ce0a3fe32a3ee2c587; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 97eaa2955db4120ce6ec2ef123e860bc32232c50; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f119f2325ba70cbfdec701000dcad4d88805d5b0; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 97eaa2955db4120ce6ec2ef123e860bc32232c50, Linux 3ab0d6f8289ba8402ca95a9fc61a34909d5e1f3a

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-26733 being exploited?

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

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

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

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dbc9b22d0ed319b4e29034ce0a3fe32a3ee2c587; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 97eaa2955db4120ce6ec2ef123e860bc32232c50; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f119f2325ba70cbfdec701000dcad4d88805d5b0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a3f2c083cb575d80a7627baf3339e78fedccbb91; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3ab0d6f8289ba8402ca95a9fc61a34909d5e1f3a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a7d6027790acea24446ddd6632d394096c0f4667; Linux 2.6.12.

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

Yes. Fixed in Linux 97eaa2955db4120ce6ec2ef123e860bc32232c50, Linux 3ab0d6f8289ba8402ca95a9fc61a34909d5e1f3a. No fix listed yet: follow the vendor advisory.

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

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/dbc9b22d0ed319b4e29034ce0a3fe32a3ee2c587>
- patch: <https://git.kernel.org/stable/c/97eaa2955db4120ce6ec2ef123e860bc32232c50>
- patch: <https://git.kernel.org/stable/c/f119f2325ba70cbfdec701000dcad4d88805d5b0>
- patch: <https://git.kernel.org/stable/c/a3f2c083cb575d80a7627baf3339e78fedccbb91>
- patch: <https://git.kernel.org/stable/c/3ab0d6f8289ba8402ca95a9fc61a34909d5e1f3a>
- patch: <https://git.kernel.org/stable/c/a7d6027790acea24446ddd6632d394096c0f4667>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://security.netapp.com/advisory/ntap-20241101-0013/>

## 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-26733>

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