Bug 2275616 (CVE-2024-26821) - CVE-2024-26821 kernel: fs: relax mount_setattr() permission checks
Summary: CVE-2024-26821 kernel: fs: relax mount_setattr() permission checks
Keywords:
Status: NEW
Alias: CVE-2024-26821
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2275617
Blocks: 2275560
TreeView+ depends on / blocked
 
Reported: 2024-04-17 16:39 UTC by Robb Gatica
Modified: 2025-05-16 04:53 UTC (History)
49 users (show)

Fixed In Version: kernel 6.1.79, kernel 6.6.18, kernel 6.7.6, kernel 6.8
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Robb Gatica 2024-04-17 16:39:26 UTC
In the Linux kernel, the following vulnerability has been resolved:

fs: relax mount_setattr() permission checks

The Linux kernel CVE team has assigned CVE-2024-26821 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024041702-CVE-2024-26821-de6b@gregkh/T

Comment 1 Robb Gatica 2024-04-17 16:40:03 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2275617]

Comment 6 Alex 2024-06-09 15:26:49 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-26821 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags DISK IMPROVEONLY  ; these flags parsed automatically based on patche data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later.

Comment 7 Eric Sandeen 2024-06-12 04:05:05 UTC
Note, his has been rejected upstream:

"The Linux kernel CVE team has assigned CVE-2024-26821 to this issue.
This one probably needs to be disputed as it isn't an actual
vulnerability, but rather a fix for the mount_setattr which previously
didn't allow reconfiguring the real rootfs similar to what the mount
syscall always allowed to do.

So it merely brings mount_attr up to par with mount in terms of allowing
the real rootfs to be reconfigured.

Christian, what do you think ?
Yeah, it's not security related at all. It just allows _additional_
functionality. Not sure how that ended up on the CVE list. Thanks for
pinging about this!
Now rejected, thanks all for reviewing this and letting us know.

greg k-h"

Comment 8 TEJ RATHI 2025-05-15 10:58:11 UTC
This CVE has been rejected upstream: https://lore.kernel.org/linux-cve-announce/2024051643-REJECTED-4a96@gregkh/


Note You need to log in before you can comment on or make changes to this bug.