CVE-2026-99741

Not scored yetLast modified Nov 23, 2026

Description

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

tmpfs: keep the quota soft limits of an unused id

When the last reference to a dquot goes away, shmem_release_dquot() stores its limits in the rb tree of the mount, unless shmem_is_empty_dquot() says that there is nothing worth storing. That function looks at the usage and at the two hard limits only.

So if the administrator sets nothing but soft limits for an id that owns no file yet, the entry is thrown away as soon as the dquot that Q_SETQUOTA used is released, and the id never gets to see a limit.

To fix it, compare the soft limits as well: an entry can be empty only if both soft limits are zero as well, which is exactly what shmem_acquire_dquot() sets for a new entry.

Fix generated by an LLM and sent by Josef Bacik in private.

[ david: slightly adjusted description ]

Metrics

No CVSS score has been published yet.

Affected software

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

VendorProductVersions
LinuxLinux>= de4c0e7ca8b526a82ff7e5ee5533787bb6d01724, < 473c522e8230ace167ededa2cef61a9c890e8144; >= de4c0e7ca8b526a82ff7e5ee5533787bb6d01724, < b66796d176dfc107ec7fd2d6b4e9b6fa8b160dd6; >= de4c0e7ca8b526a82ff7e5ee5533787bb6d01724, < e6158f1736ebc3681ee164e8d5b5c1607ac60138; >= de4c0e7ca8b526a82ff7e5ee5533787bb6d01724, < 3aa51c92711896c86da9fcef01b1155e8caa7e74; >= de4c0e7ca8b526a82ff7e5ee5533787bb6d01724, < 968d73463059156e1b89bfa6b189acd7d27197b2
LinuxLinux6.6

References

Timeline

Published
Nov 20, 2026
Last modified
Nov 23, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-99742In the Linux kernel, the following vulnerability has been resolved: mm/mempolicy: charge shared policy nodes Any local user can bypass memCVE-2026-99743In the Linux kernel, the following vulnerability has been resolved: ksmbd: grant a POSIX ACL group entry only to the group's members When CVE-2026-997447.1In the Linux kernel, the following vulnerability has been resolved: net: atl1c: drop oversized RX frames instead of panicking atl1c sizes CVE-2026-99745In the Linux kernel, the following vulnerability has been resolved: x86/bugs: Select the BHI mitigation based on the attack vector properlyCVE-2026-997467.0In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: Intel: hda-sdw-bpt: Stop active DMA before closing BPT streaCVE-2026-99747In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix NULL pointer dereference in session_user_name() and session_CVE-2026-99748In the Linux kernel, the following vulnerability has been resolved: ksmbd: revert fsids on durable reconnect and replay failure On a durabCVE-2026-99749In the Linux kernel, the following vulnerability has been resolved: ksmbd: enforce the read-only share flag when creating a stream When a CVE-2026-99758.3Out of bounds read and write in ANGLE in Google Chrome prior to 148.0.7778.216 allowed a remote attacker who had compromised the renderer prCVE-2026-99750In the Linux kernel, the following vulnerability has been resolved: ksmbd: require DELETE access for delete-on-close opens smb2_open() accCVE-2026-99751In the Linux kernel, the following vulnerability has been resolved: bpf: Fix skb_pull() BUG in __bpf_redirect_neigh() The issue: This is aCVE-2026-99752In the Linux kernel, the following vulnerability has been resolved: drm/loongson: Handle buffer mapping failures when clearing a BO lsdc_b
CVE-2026-99741: Unscored | Vulnix