{"id":"CVE-2023-53491","aliases":["CVE-2023-53491"],"related":[],"kind":"vulnerability","state":"published","title":"start_kernel: Add __no_stack_protector function attribute","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nstart_kernel: Add __no_stack_protector function attribute\n\nBack during the discussion of\ncommit a9a3ed1eff36 (\"x86: Fix early boot crash on gcc-10, third try\")\nwe discussed the need for a function attribute to control the omission\nof stack protectors on a per-function basis; at the time Clang had\nsupport for no_stack_protector but GCC did not. This was fixed in\ngcc-11. Now that the function attribute is available, let's start using\nit.\n\nCallers of boot_init_stack_canary need to use this function attribute\nunless they're compiled with -fno-stack-protector, otherwise the canary\nstored in the stack slot of the caller will differ upon the call to\nboot_init_stack_canary. This will lead to a call to __stack_chk_fail()\nthen panic.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nstart_kernel: Add __no_stack_protector function attribute\n\nBack during the discussion of\ncommit a9a3ed1eff36 (\"x86: Fix early boot crash on gcc-10, third try\")\nwe discussed the need for a function attribute to control the omission\nof stack protectors on a per-function basis; at the time Clang had\nsupport for no_stack_protector but GCC did not. This was fixed in\ngcc-11. Now that the function attribute is available, let's start using\nit.\n\nCallers of boot_init_stack_canary need to use this function attribute\nunless they're compiled with -fno-stack-protector, otherwise the canary\nstored in the stack slot of the caller will differ upon the call to\nboot_init_stack_canary. This will lead to a call to __stack_chk_fail()\nthen panic.","source":"cvelist"}],"published":"2025-10-01T11:45:43.101Z","modified":"2026-10-15T22:17:40.683Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"420594296838fdc9a674470d710cda7d1487f9f4","fixed":"5a7e8f89cdee16db705905a5b1ce2100b13dd63e","status":"affected"},{"type":"git","introduced":"420594296838fdc9a674470d710cda7d1487f9f4","fixed":"25e73018b4093e0cfbcec5dc4a4bb86d0b69ed56","status":"affected"},{"type":"git","introduced":"420594296838fdc9a674470d710cda7d1487f9f4","fixed":"514ca14ed5444b911de59ed3381dfd195d99fe4b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.30","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.30","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.4.4","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.30","fixed":"6.4.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5a7e8f89cdee16db705905a5b1ce2100b13dd63e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/25e73018b4093e0cfbcec5dc4a4bb86d0b69ed56","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/514ca14ed5444b911de59ed3381dfd195d99fe4b","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-15T21:34:51.888Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53491","url":"https://www.cve.org/CVERecord?id=CVE-2023-53491","licence":"CVE Terms of Use","modified":"2026-10-15T21:41:28.874Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53491","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53491","licence":"Public domain","modified":"2026-10-15T22:17:40.683Z"}],"updatedAt":"2026-11-25T22:58:34.908Z","epss":{"score":0.0037,"percentile":0.32951,"date":"2026-12-01T12:00:22.000Z"}}