# CVE-2024-26862: packet: annotate data-races around ignore\_outgoing

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.22% (percentile 8, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2024-04-17T10:27:25.634Z
- **Modified:** 2026-06-17T07:18:32.103Z

## Who should check

- Anyone running Linux \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< 84c510411e321caff3c07e6cd0f917f06633cfc0; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< 68e84120319d4fc298fcdb14cf0bea6a0f64ffbd; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< d35b62c224e70797f8a1c37fe9bc4b3e294b7560; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< ef7eed7e11d23337310ecc2c014ecaeea52719c5; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< 2c02c5059c78a52d170bdee4a369b470de6deb37; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< ee413f30ec4fe94a0bdf32c8f042cb06fa913234; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< 8b1e273c6afcf00d3c40a54ada7d6aac1b503b97; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< 6ebfad33161afacb3e1e59ed1c2feefef70f9f97
- Anyone running Linux 4.20

## Description

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

packet: annotate data-races around ignore\_outgoing

ignore\_outgoing is read locklessly from dev\_queue\_xmit\_nit()
and packet\_getsockopt()

Add appropriate READ\_ONCE()/WRITE\_ONCE() annotations.

syzbot reported:

BUG: KCSAN: data-race in dev\_queue\_xmit\_nit / packet\_setsockopt

write to 0xffff888107804542 of 1 bytes by task 22618 on cpu 0:
 packet\_setsockopt+0xd83/0xfd0 net/packet/af\_packet.c:4003
 do\_sock\_setsockopt net/socket.c:2311 \[inline\]
 \_\_sys\_setsockopt+0x1d8/0x250 net/socket.c:2334
 \_\_do\_sys\_setsockopt net/socket.c:2343 \[inline\]
 \_\_se\_sys\_setsockopt net/socket.c:2340 \[inline\]
 \_\_x64\_sys\_setsockopt+0x66/0x80 net/socket.c:2340
 do\_syscall\_64+0xd3/0x1d0
 entry\_SYSCALL\_64\_after\_hwframe+0x6d/0x75

read to 0xffff888107804542 of 1 bytes by task 27 on cpu 1:
 dev\_queue\_xmit\_nit+0x82/0x620 net/core/dev.c:2248
 xmit\_one net/core/dev.c:3527 \[inline\]
 dev\_hard\_start\_xmit+0xcc/0x3f0 net/core/dev.c:3547
 \_\_dev\_queue\_xmit+0xf24/0x1dd0 net/core/dev.c:4335
 dev\_queue\_xmit include/linux/netdevice.h:3091 \[inline\]
 batadv\_send\_skb\_packet+0x264/0x300 net/batman-adv/send.c:108
 batadv\_send\_broadcast\_skb+0x24/0x30 net/batman-adv/send.c:127
 batadv\_iv\_ogm\_send\_to\_if net/batman-adv/bat\_iv\_ogm.c:392 \[inline\]
 batadv\_iv\_ogm\_emit net/batman-adv/bat\_iv\_ogm.c:420 \[inline\]
 batadv\_iv\_send\_outstanding\_bat\_ogm\_packet+0x3f0/0x4b0 net/batman-adv/bat\_iv\_ogm.c:1700
 process\_one\_work kernel/workqueue.c:3254 \[inline\]
 process\_scheduled\_works+0x465/0x990 kernel/workqueue.c:3335
 worker\_thread+0x526/0x730 kernel/workqueue.c:3416
 kthread+0x1d1/0x210 kernel/kthread.c:388
 ret\_from\_fork+0x4b/0x60 arch/x86/kernel/process.c:147
 ret\_from\_fork\_asm+0x1a/0x30 arch/x86/entry/entry\_64.S:243

value changed: 0x00 -\> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 27 Comm: kworker/u8:1 Tainted: G        W          6.8.0-syzkaller-08073-g480e035fc4c7 \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
Workqueue: bat\_events batadv\_iv\_send\_outstanding\_bat\_ogm\_packet

## Affected and fixed versions

- Linux: \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< 84c510411e321caff3c07e6cd0f917f06633cfc0; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< 68e84120319d4fc298fcdb14cf0bea6a0f64ffbd; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< d35b62c224e70797f8a1c37fe9bc4b3e294b7560; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< ef7eed7e11d23337310ecc2c014ecaeea52719c5; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< 2c02c5059c78a52d170bdee4a369b470de6deb37; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< ee413f30ec4fe94a0bdf32c8f042cb06fa913234; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< 8b1e273c6afcf00d3c40a54ada7d6aac1b503b97; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< 6ebfad33161afacb3e1e59ed1c2feefef70f9f97 (cvelist)
- Linux: 4.20 (cvelist)

## Mitigation

- Upgrade Linux to 6ebfad33161afacb3e1e59ed1c2feefef70f9f97 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26862.md
Affected: Linux >= fa788d986a3aac5069378ed04697bd06f83d3488, < 84c510411e321caff3c07e6cd0f917f06633cfc0; >= fa788d986a3aac5069378ed04697bd06f83d3488, < 68e84120319d4fc298fcdb14cf0bea6a0f64ffbd; >= fa788d986a3aac5069378ed04697bd06f83d3488, < d35b62c224e70797f8a1c37fe9bc4b3e294b7560; >= fa788d986a3aac5069378ed…
Fixed in: Linux 84c510411e321caff3c07e6cd0f917f06633cfc0, Linux 68e84120319d4fc298fcdb14cf0bea6a0f64ffbd, Linux 2c02c5059c78a52d170bdee4a369b470de6deb37, Linux 8b1e273c6afcf00d3c40a54ada7d6aac1b503b97, Linux 6ebfad33161afacb3e1e59ed1c2feefef70f9f97

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

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

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

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< 84c510411e321caff3c07e6cd0f917f06633cfc0; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< 68e84120319d4fc298fcdb14cf0bea6a0f64ffbd; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< d35b62c224e70797f8a1c37fe9bc4b3e294b7560; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< ef7eed7e11d23337310ecc2c014ecaeea52719c5; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< 2c02c5059c78a52d170bdee4a369b470de6deb37; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< ee413f30ec4fe94a0bdf32c8f042cb06fa913234; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< 8b1e273c6afcf00d3c40a54ada7d6aac1b503b97; \>= fa788d986a3aac5069378ed04697bd06f83d3488, \< 6ebfad33161afacb3e1e59ed1c2feefef70f9f97; Linux 4.20.

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

Yes. Fixed in Linux 84c510411e321caff3c07e6cd0f917f06633cfc0, Linux 68e84120319d4fc298fcdb14cf0bea6a0f64ffbd, Linux 2c02c5059c78a52d170bdee4a369b470de6deb37, Linux 8b1e273c6afcf00d3c40a54ada7d6aac1b503b97, Linux 6ebfad33161afacb3e1e59ed1c2feefef70f9f97. Upgrade Linux to 6ebfad33161afacb3e1e59ed1c2feefef70f9f97 or later.

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

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/84c510411e321caff3c07e6cd0f917f06633cfc0>
- patch: <https://git.kernel.org/stable/c/68e84120319d4fc298fcdb14cf0bea6a0f64ffbd>
- patch: <https://git.kernel.org/stable/c/d35b62c224e70797f8a1c37fe9bc4b3e294b7560>
- patch: <https://git.kernel.org/stable/c/ef7eed7e11d23337310ecc2c014ecaeea52719c5>
- patch: <https://git.kernel.org/stable/c/2c02c5059c78a52d170bdee4a369b470de6deb37>
- patch: <https://git.kernel.org/stable/c/ee413f30ec4fe94a0bdf32c8f042cb06fa913234>
- patch: <https://git.kernel.org/stable/c/8b1e273c6afcf00d3c40a54ada7d6aac1b503b97>
- patch: <https://git.kernel.org/stable/c/6ebfad33161afacb3e1e59ed1c2feefef70f9f97>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.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-26862>

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