CVE-2026-139324

Not scored yetLast modified Nov 30, 2026

Description

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

bpf: Don't leak the inode when token creation fails

bpf_token_create() allocates a bpffs inode and hands it to alloc_file_pseudo(). The inode reference only moves to the new file when that call succeeds: alloc_file_pseudo() leaves the caller's reference alone on failure, and FD_PREPARE() does not even evaluate the file expression when it cannot get a descriptor.

Before the conversion to FD_PREPARE() the error path did iput(inode). The conversion dropped it, so each BPF_TOKEN_CREATE that fails with -EMFILE, -ENFILE or -ENOMEM at this point leaks an inode. A task that is allowed to create tokens can hit this at will by lowering RLIMIT_NOFILE, and the leaked inodes make umount of that bpffs instance complain about busy inodes.

Put the inode again if no file was created.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 981bec8f698ba19a4d983016c6ccdde30502d07e, < bcd2e35432a433b98d5ef9817b51657dd8ef1963; >= 981bec8f698ba19a4d983016c6ccdde30502d07e, < f52b699c88634d0161c97247e0f791a840eb868d
LinuxLinux6.19

References

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139325In the Linux kernel, the following vulnerability has been resolved: bpf: Forbid sleeping in hash map for_each callbacks A sleepable prograCVE-2026-1393268.1In the Linux kernel, the following vulnerability has been resolved: bpf: Use the frame mem type in devmap egress XDP A devmap egress progrCVE-2026-139327In the Linux kernel, the following vulnerability has been resolved: bpf: Fix verifier WARN on narrow read of bpf_tcp_sock u64 fields A BPFCVE-2026-139328In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix a bypassed task stalling on a cpu its scheduler has no cCVE-2026-139329In the Linux kernel, the following vulnerability has been resolved: ALSA: jack: Protect the index scan against control removal A control fCVE-2026-139335.3Insufficient policy enforcement in Passwords in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the rendeCVE-2026-139330In the Linux kernel, the following vulnerability has been resolved: dpll: zl3073x: do not offer 0 Hz as a supported pin frequency zl3073x_CVE-2026-139331In the Linux kernel, the following vulnerability has been resolved: bpf, x86: Pass a trampoline's stack arguments by the calling conventionCVE-2026-139332In the Linux kernel, the following vulnerability has been resolved: bpf: Claim the per-CPU send_signal irq_work before filling it irq_workCVE-2026-139333In the Linux kernel, the following vulnerability has been resolved: btrfs: update the inode item when removing a free space inode btrfs_reCVE-2026-139334In the Linux kernel, the following vulnerability has been resolved: btrfs: drop the extent maps of the written part of a failed ordered extCVE-2026-139335In the Linux kernel, the following vulnerability has been resolved: platform: cznic: turris-omnia-mcu: stop button emulation producers The
CVE-2026-139324: Unscored | Vulnix