Bug 1227891 (CVE-2024-40967)

Summary: VUL-0: CVE-2024-40967: kernel: serial: imx: Introduce timeout when waiting on transmitter empty
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Kernel Bugs <kernel-bugs>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: andrea.mattiazzo
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/413894/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-40967:4.7:(AV:L/AC:H/PR:L/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-07-16 08:30:31 UTC
In the Linux kernel, the following vulnerability has been resolved:

serial: imx: Introduce timeout when waiting on transmitter empty

By waiting at most 1 second for USR2_TXDC to be set, we avoid a potential
deadlock.

In case of the timeout, there is not much we can do, so we simply ignore
the transmitter state and optimistically try to continue.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-40967
https://www.cve.org/CVERecord?id=CVE-2024-40967
https://git.kernel.org/stable/c/53b2c95547427c358f45515a9f144efee95e3701
https://git.kernel.org/stable/c/7f2b9ab6d0b26f16cd38dd9fd91d51899635f7c7
https://git.kernel.org/stable/c/7f9e70c68b7ace0141fe3bc94bf7b61296b71916
https://git.kernel.org/stable/c/982ae3376c4c91590d38dc8a676c10f7df048a44
https://git.kernel.org/stable/c/e533e4c62e9993e62e947ae9bbec34e4c7ae81c2
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-40967.mbox