All vulnerabilities

Servers and applications

CVE-2026-139299

bpf: Free what map_free() unlinks for sleepable readers

Severity
Unrated
Published
30 Nov 2026
Last changed
30 Nov 2026
Added to UpHeron
30 Nov 2026
Fixed in
5.18, 5.19, 6.18.66, 7.3.6
Sources
CVE Program

Description

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

bpf_local_storage_map_free() takes the elements of the map off the lists of their owners, which are alive, and frees them, and the storage of an owner with its last element, behind a plain RCU grace period. Nobody uses the map any more, but the other maps of these owners are in use. A sleepable program calls the get and delete helpers under rcu_read_lock_trace() only. While it walks the list of an owner for its own map, or is about to lock the storage, the element it stands on, or the storage, can be freed under it.

Whatever else takes an element off the list of a live owner frees it behind an RCU Tasks Trace grace period, which implies a plain one. Do so in bpf_local_storage_map_free() as well. It waits for these callbacks before it frees the map.

This does not help a sleepable program that hands an owner to the helpers which nobody holds, and which may be gone by then.

From the CVE Program.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 5.17.13 before 5.18
  • From 5.18.2 before 5.19
  • From 5.19 before 6.18.66
  • From 6.19 before 7.3.6

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 2 vulnerable
  • 2 fixed
PackageDebian releaseStatus
linuxsidunstableFixed in 7.3.6-1
14forkytestingFixed in 7.3.6-1
13trixiestableVulnerableNo fix yet.
12bookwormoldstableVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-139299 , read in the last 12 hours.

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
257,106GitHub, 29 Nov 2026
Forks
66,781GitHub, 29 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-139299