# CVE-2023-53491: start\_kernel: Add \_\_no\_stack\_protector function attribute

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.51% (percentile 37, 2026-11-28)
- **Published:** 2025-10-01T11:45:43.101Z
- **Modified:** 2026-10-15T22:17:40.683Z

## Who should check

- Anyone running Linux \>= 420594296838fdc9a674470d710cda7d1487f9f4, \< 5a7e8f89cdee16db705905a5b1ce2100b13dd63e; \>= 420594296838fdc9a674470d710cda7d1487f9f4, \< 25e73018b4093e0cfbcec5dc4a4bb86d0b69ed56; \>= 420594296838fdc9a674470d710cda7d1487f9f4, \< 514ca14ed5444b911de59ed3381dfd195d99fe4b
- Anyone running Linux 2.6.30

## Description

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

start\_kernel: Add \_\_no\_stack\_protector function attribute

Back during the discussion of
commit a9a3ed1eff36 ("x86: Fix early boot crash on gcc-10, third try")
we discussed the need for a function attribute to control the omission
of stack protectors on a per-function basis; at the time Clang had
support for no\_stack\_protector but GCC did not. This was fixed in
gcc-11. Now that the function attribute is available, let's start using
it.

Callers of boot\_init\_stack\_canary need to use this function attribute
unless they're compiled with -fno-stack-protector, otherwise the canary
stored in the stack slot of the caller will differ upon the call to
boot\_init\_stack\_canary. This will lead to a call to \_\_stack\_chk\_fail()
then panic.

## Affected and fixed versions

- Linux: \>= 420594296838fdc9a674470d710cda7d1487f9f4, \< 5a7e8f89cdee16db705905a5b1ce2100b13dd63e; \>= 420594296838fdc9a674470d710cda7d1487f9f4, \< 25e73018b4093e0cfbcec5dc4a4bb86d0b69ed56; \>= 420594296838fdc9a674470d710cda7d1487f9f4, \< 514ca14ed5444b911de59ed3381dfd195d99fe4b (cvelist)
- Linux: 2.6.30 (cvelist)

## Mitigation

- Upgrade Linux to 514ca14ed5444b911de59ed3381dfd195d99fe4b or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53491.md
Affected: Linux >= 420594296838fdc9a674470d710cda7d1487f9f4, < 5a7e8f89cdee16db705905a5b1ce2100b13dd63e; >= 420594296838fdc9a674470d710cda7d1487f9f4, < 25e73018b4093e0cfbcec5dc4a4bb86d0b69ed56; >= 420594296838fdc9a674470d710cda7d1487f9f4, < 514ca14ed5444b911de59ed3381dfd195d99fe4b; Linux 2.6.30
Fixed in: Linux 5a7e8f89cdee16db705905a5b1ce2100b13dd63e, Linux 25e73018b4093e0cfbcec5dc4a4bb86d0b69ed56, Linux 514ca14ed5444b911de59ed3381dfd195d99fe4b

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-2023-53491 being exploited?

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

### How serious is CVE-2023-53491?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-53491?

Linux \>= 420594296838fdc9a674470d710cda7d1487f9f4, \< 5a7e8f89cdee16db705905a5b1ce2100b13dd63e; \>= 420594296838fdc9a674470d710cda7d1487f9f4, \< 25e73018b4093e0cfbcec5dc4a4bb86d0b69ed56; \>= 420594296838fdc9a674470d710cda7d1487f9f4, \< 514ca14ed5444b911de59ed3381dfd195d99fe4b; Linux 2.6.30.

### Is there a fix for CVE-2023-53491?

Yes. Fixed in Linux 5a7e8f89cdee16db705905a5b1ce2100b13dd63e, Linux 25e73018b4093e0cfbcec5dc4a4bb86d0b69ed56, Linux 514ca14ed5444b911de59ed3381dfd195d99fe4b. Upgrade Linux to 514ca14ed5444b911de59ed3381dfd195d99fe4b or later.

### How do I check if I'm affected by CVE-2023-53491?

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

- patch: <https://git.kernel.org/stable/c/25e73018b4093e0cfbcec5dc4a4bb86d0b69ed56>
- patch: <https://git.kernel.org/stable/c/514ca14ed5444b911de59ed3381dfd195d99fe4b>
- other: <https://git.kernel.org/stable/c/5a7e8f89cdee16db705905a5b1ce2100b13dd63e>

## 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-2023-53491>

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