{"id":"CVE-2023-53491","revision":"810fc0fac2a6469caf944d4acfbbf783","records":[{"revision":"810fc0fac2a6469caf944d4acfbbf783","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2023-53491","aliases":[],"title":"start_kernel: Add __no_stack_protector function attribute","description":"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.","state":0,"publishedAt":"2025-10-01T11:45:43.101+00:00","modifiedAt":"2026-10-15T21:41:28.874+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"arch/powerpc/kernel/smp.c\",\n                        \"include/linux/compiler_attributes.h\",\n                        \"init/main.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"420594296838fdc9a674470d710cda7d1487f9f4\",\n                            \"lessThan\": \"5a7e8f89cdee16db705905a5b1ce2100b13dd63e\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"420594296838fdc9a674470d710cda7d1487f9f4\",\n                            \"lessThan\": \"25e73018b4093e0cfbcec5dc4a4bb86d0b69ed56\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"420594296838fdc9a674470d710cda7d1487f9f4\",\n                            \"lessThan\": \"514ca14ed5444b911de59ed3381dfd195d99fe4b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"arch/powerpc/kernel/smp.c\",\n                        \"include/linux/compiler_attributes.h\",\n                        \"init/main.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"2.6.30\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"2.6.30\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.189\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.4.4\",\n                            \"lessThanOrEqual\": \"6.4.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.5\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/5a7e8f89cdee16db705905a5b1ce2100b13dd63e","https://git.kernel.org/stable/c/25e73018b4093e0cfbcec5dc4a4bb86d0b69ed56","https://git.kernel.org/stable/c/514ca14ed5444b911de59ed3381dfd195d99fe4b"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2023-53491","license":"CVE Program Terms of Use","key":"cve-program:CVE-2023-53491","identifiers":["CVE-2023-53491"]},"retained":false,"historicalAffected":[]}],"coverage":[]}