Bug 1222485 (CVE-2024-26705)

Summary: VUL-0: CVE-2024-26705: kernel: parisc: BTLB: crash when setting up BTLB at CPU bringup
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Jeffrey Cheung <jcheung>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P5 - None CC: thomas.leroy
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/400176/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-04-08 14:56:59 UTC
In the Linux kernel, the following vulnerability has been resolved:

parisc: BTLB: Fix crash when setting up BTLB at CPU bringup

When using hotplug and bringing up a 32-bit CPU, ask the firmware about the
BTLB information to set up the static (block) TLB entries.

For that write access to the static btlb_info struct is needed, but
since it is marked __ro_after_init the kernel segfaults with missing
write permissions.

Fix the crash by dropping the __ro_after_init annotation.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26705
https://www.cve.org/CVERecord?id=CVE-2024-26705
https://git.kernel.org/stable/c/54944f45470af5965fb9c28cf962ec30f38a8f5b
https://git.kernel.org/stable/c/913b9d443a0180cf0de3548f1ab3149378998486
https://git.kernel.org/stable/c/aa52be55276614d33f22fbe7da36c40d6432d10b
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-26705.mbox
https://bugzilla.redhat.com/show_bug.cgi?id=2273172
Comment 1 Thomas Leroy 2024-04-08 14:57:38 UTC
We don't build to parisc architecture. Closing