PT-2026-163365
CVE-2026-139324
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾