# module: Fix kernel panic when a symbol st_shndx is out of bounds

CVE record · `CVE-2026-31521`

- **Identifiers:** `CVE-2026-31521`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 22 Apr 2026
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 22 Apr 2026, 13:54 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5d16f519b6eb1d071807e57efe0df2baa8d32ad6` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 4bbdb0e48176fd281c2b9a211b110db6fd94e175` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 082f15d2887329e0f43fd3727e69365f5bfe5d2c` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ec2b22a58073f80739013588af448ff6e2ab906f` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ef75dc1401d8e797ee51559a0dd0336c225e1776` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6ba6957c640f58dc8ef046981a045da43e47ea23` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f9d69d5e7bde2295eb7488a56f094ac8f5383b92` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.12`
  - unaffected: `before 2.6.12` (semver)
  - unaffected: `5.15.203 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.168 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.131 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.80 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.21 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19.11 to 6.19.*, inclusive` (semver)
  - unaffected: `7.0 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel module loader does not check ELF symbol section indexes, so a module with an out-of-bounds st_shndx value can cause a kernel panic. The source does not say what access an attacker needs. Upgrade to 5.15.203, 6.1.168, 6.6.131, 6.12.80, or the matching later stable release.

Written 17 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0013, the 2nd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 22 Apr 2026, 13:54 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-31521)
- 22 Apr 2026, 14:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-31521)

## Sources

- [CVE List: CVE-2026-31521](https://www.cve.org/CVERecord?id=CVE-2026-31521)
- [NVD: CVE-2026-31521](https://nvd.nist.gov/vuln/detail/CVE-2026-31521)

### References from the CNA

- <https://git.kernel.org/stable/c/5d16f519b6eb1d071807e57efe0df2baa8d32ad6>
- <https://git.kernel.org/stable/c/4bbdb0e48176fd281c2b9a211b110db6fd94e175>
- <https://git.kernel.org/stable/c/082f15d2887329e0f43fd3727e69365f5bfe5d2c>
- <https://git.kernel.org/stable/c/ec2b22a58073f80739013588af448ff6e2ab906f>
- <https://git.kernel.org/stable/c/ef75dc1401d8e797ee51559a0dd0336c225e1776>
- <https://git.kernel.org/stable/c/6ba6957c640f58dc8ef046981a045da43e47ea23>
- <https://git.kernel.org/stable/c/f9d69d5e7bde2295eb7488a56f094ac8f5383b92>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-31521>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-31521/>. Everything for agents: <https://agentprime.io/llms.txt>.
