# CVE-2026-99112: net/sched: cls\_flower: validate mask pointer after nla\_next()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-26)
- **Published:** 2026-10-28T10:34:29.881Z
- **Modified:** 2026-10-31T13:17:55.973Z

## Who should check

- Anyone running Linux \>= 238b5ebdb6a6e4bc90810b9f8ec0063b3dfda41a, \< a9283d006eef7e3b56f0f279a49bb63f6e5e61df; \>= c96adff95619178e2118925578343ad54857c80c, \< 497944d534ffb1be300365523030c7c6517cbbb6; \>= c96adff95619178e2118925578343ad54857c80c, \< a55d84907337580d91c0d54779d9d4b934633158; \>= c96adff95619178e2118925578343ad54857c80c, \< cff9bf34afde46c238189cc6f7690b7e35225df1; \>= c96adff95619178e2118925578343ad54857c80c, \< 35354bf67aa0f7bace66ffb614906124ed50d59d; \>= c96adff95619178e2118925578343ad54857c80c, \< 45e60747a9db2307929260d9aa9c1c6cbb70ee77; \>= c96adff95619178e2118925578343ad54857c80c, \< bb187146c7e5c666874784e4f3fc1bc5126e6e92; \>= c96adff95619178e2118925578343ad54857c80c, \< fee10655709c5c597e8e9f722f3035d9ea31ff3a; \>= 5.10.11, \< 5.10.273
- Anyone running Linux 5.11

## Description

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

net/sched: cls\_flower: validate mask pointer after nla\_next()

fl\_set\_enc\_opt() iterates the key's nested tunnel-option attributes
with nla\_for\_each\_attr() while advancing a single mask pointer via
nla\_next() at the bottom of each loop, so the mask cursor is driven
by the number of key attributes rather than by the mask's own
attributes.  The nla\_ok() added by commit c96adff956191 ("cls\_flower:
call nla\_ok() before nla\_next()") only validates the mask pointer
that was just consumed; the pointer produced by nla\_next() is used by
the next iteration (fl\_set\_geneve\_opt() and siblings) without any
validation.

The mask's nested attributes are validated with NL\_VALIDATE\_LIBERAL,
which merely warns on trailing bytes that do not form a complete
attribute.  A mask carrying one valid attribute plus 1-3 residue
bytes (or a non-aligned attribute length making msk\_depth negative)
therefore reaches the next iteration with msk\_depth != 0, so neither
the !msk\_depth check in fl\_set\_enc\_opt() nor the !depth check in the
per-type helpers fires.  nla\_type() then reads past the mask payload
and nla\_parse\_nested\_deprecated() iterates with an nla\_len taken
from those bytes, reading well beyond the mask attribute (KASAN:
slab-out-of-bounds read in \_\_nla\_validate\_parse from fl\_change()).

Validate the advanced mask pointer as well: when the mask is not
legitimately exhausted (msk\_depth != 0) and the new pointer fails
nla\_ok(), reject the filter with -EINVAL.  An exactly exhausted mask
still skips the check, preserving exact-match behaviour for the
remaining key attributes.

## Affected and fixed versions

- Linux: \>= 238b5ebdb6a6e4bc90810b9f8ec0063b3dfda41a, \< a9283d006eef7e3b56f0f279a49bb63f6e5e61df; \>= c96adff95619178e2118925578343ad54857c80c, \< 497944d534ffb1be300365523030c7c6517cbbb6; \>= c96adff95619178e2118925578343ad54857c80c, \< a55d84907337580d91c0d54779d9d4b934633158; \>= c96adff95619178e2118925578343ad54857c80c, \< cff9bf34afde46c238189cc6f7690b7e35225df1; \>= c96adff95619178e2118925578343ad54857c80c, \< 35354bf67aa0f7bace66ffb614906124ed50d59d; \>= c96adff95619178e2118925578343ad54857c80c, \< 45e60747a9db2307929260d9aa9c1c6cbb70ee77; \>= c96adff95619178e2118925578343ad54857c80c, \< bb187146c7e5c666874784e4f3fc1bc5126e6e92; \>= c96adff95619178e2118925578343ad54857c80c, \< fee10655709c5c597e8e9f722f3035d9ea31ff3a; \>= 5.10.11, \< 5.10.273 (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- Upgrade Linux to 5.10.273 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99112. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99112.md
Affected: Linux >= 238b5ebdb6a6e4bc90810b9f8ec0063b3dfda41a, < a9283d006eef7e3b56f0f279a49bb63f6e5e61df; >= c96adff95619178e2118925578343ad54857c80c, < 497944d534ffb1be300365523030c7c6517cbbb6; >= c96adff95619178e2118925578343ad54857c80c, < a55d84907337580d91c0d54779d9d4b934633158; >= c96adff95619178e2118925…
Fixed in: Linux 497944d534ffb1be300365523030c7c6517cbbb6, Linux 35354bf67aa0f7bace66ffb614906124ed50d59d, Linux 45e60747a9db2307929260d9aa9c1c6cbb70ee77, Linux 5.10.273

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99112 being exploited?

There is no confirmed exploitation: CVE-2026-99112 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99112?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-99112?

Linux \>= 238b5ebdb6a6e4bc90810b9f8ec0063b3dfda41a, \< a9283d006eef7e3b56f0f279a49bb63f6e5e61df; \>= c96adff95619178e2118925578343ad54857c80c, \< 497944d534ffb1be300365523030c7c6517cbbb6; \>= c96adff95619178e2118925578343ad54857c80c, \< a55d84907337580d91c0d54779d9d4b934633158; \>= c96adff95619178e2118925578343ad54857c80c, \< cff9bf34afde46c238189cc6f7690b7e35225df1; \>= c96adff95619178e2118925578343ad54857c80c, \< 35354bf67aa0f7bace66ffb614906124ed50d59d; \>= c96adff95619178e2118925578343ad54857c80c, \< 45e60747a9db2307929260d9aa9c1c6cbb70ee77; \>= c96adff95619178e2118925578343ad54857c80c, \< bb187146c7e5c666874784e4f3fc1bc5126e6e92; \>= c96adff95619178e2118925578343ad54857c80c, \< fee10655709c5c597e8e9f722f3035d9ea31ff3a; \>= 5.10.11, \< 5.10.273; Linux 5.11.

### Is there a fix for CVE-2026-99112?

Yes. Fixed in Linux 497944d534ffb1be300365523030c7c6517cbbb6, Linux 35354bf67aa0f7bace66ffb614906124ed50d59d, Linux 45e60747a9db2307929260d9aa9c1c6cbb70ee77, Linux 5.10.273. Upgrade Linux to 5.10.273 or later.

### How do I check if I'm affected by CVE-2026-99112?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/a9283d006eef7e3b56f0f279a49bb63f6e5e61df>
- other: <https://git.kernel.org/stable/c/497944d534ffb1be300365523030c7c6517cbbb6>
- other: <https://git.kernel.org/stable/c/a55d84907337580d91c0d54779d9d4b934633158>
- other: <https://git.kernel.org/stable/c/cff9bf34afde46c238189cc6f7690b7e35225df1>
- other: <https://git.kernel.org/stable/c/35354bf67aa0f7bace66ffb614906124ed50d59d>
- other: <https://git.kernel.org/stable/c/45e60747a9db2307929260d9aa9c1c6cbb70ee77>
- other: <https://git.kernel.org/stable/c/bb187146c7e5c666874784e4f3fc1bc5126e6e92>
- other: <https://git.kernel.org/stable/c/fee10655709c5c597e8e9f722f3035d9ea31ff3a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99112>

HTML: <https://flawdb.com/CVE-2026-99112> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99112>
