Bug 1226755 (CVE-2024-38614)

Summary: VUL-0: CVE-2024-38614: kernel: openrisc: traps: Don't send signals to kernel mode threads
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED INVALID QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: carlos.lopez, gabriel.bertazi
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/411369/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-38614:4.1:(AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-06-21 11:47:54 UTC
In the Linux kernel, the following vulnerability has been resolved:

openrisc: traps: Don't send signals to kernel mode threads

OpenRISC exception handling sends signals to user processes on floating
point exceptions and trap instructions (for debugging) among others.
There is a bug where the trap handling logic may send signals to kernel
threads, we should not send these signals to kernel threads, if that
happens we treat it as an error.

This patch adds conditions to die if the kernel receives these
exceptions in kernel mode code.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-38614
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-38614.mbox
https://git.kernel.org/stable/c/c0ed9a711e3392d73e857faa031d8d349c0d70db
https://git.kernel.org/stable/c/075c0405b0d7d9fc490609e988a3af0069596538
https://git.kernel.org/stable/c/cea9d0015c140af39477dd5eeb9b20233a45daa9
https://git.kernel.org/stable/c/c88cfb5cea5f8f9868ef02cc9ce9183a26dcf20f
https://www.cve.org/CVERecord?id=CVE-2024-38614
https://bugzilla.redhat.com/show_bug.cgi?id=2293349
Comment 2 Carlos López 2024-06-26 07:53:29 UTC
Nothing to do, closing.