Bug 2576829 (CVE-2026-99486) - CVE-2026-99486 kernel: kernel: Denial of Service via incorrect data offset calculation in Rust configfs
Summary: CVE-2026-99486 kernel: kernel: Denial of Service via incorrect data offset ca...
Keywords:
Status: NEW
Alias: CVE-2026-99486
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-19 15:34 UTC by OSIDB Bzimport
Modified: 2026-11-19 20:26 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-19 15:34:56 UTC
In the Linux kernel, the following vulnerability has been resolved:

rust: configfs: fix data offset calculation for subsystem callbacks

`get_group_data()` chooses between `Group::<Parent>::container_of()` and
`Subsystem::<Parent>::container_of()` based on whether `this` represents
the root group of a configfs subsystem. It detects this by checking
`(*this).cg_subsys.is_null()`, but `link_group()` in `fs/configfs/dir.c`
unconditionally sets `cg_subsys` for every `config_group` attached anywhere
in a registered subsystem, including the subsystem's own `su_group`. The
only `config_group` with a NULL `cg_subsys` is the configfs root, on which
userspace cannot trigger callbacks. The check is therefore always false at
runtime, and the `Subsystem` branch is dead. Subsystem-level callbacks
reach the `Group` branch and may read `data` at the wrong offset.

Thus change the `is_root` check to correctly identify whether a group is a
root group by comparing `this` to `subsys.su_group`.

[ Andreas: Fix clippy warning on 1.85.0 by moving safety comment. ]


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