Bug 2129859 (CVE-2022-3303)

Summary: CVE-2022-3303 kernel: race condition in snd_pcm_oss_sync leads to NULL pointer dereference
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, bhu, brdeoliv, chwhite, crwood, ddepaula, debarbos, dvlasenk, ezulian, hkrzesin, hpa, jarod, jarodwilson, jburrell, jfaracco, jferlan, jforbes, jglisse, jlelli, joe.lawrence, jonathan, josef, jshortt, jstancek, jwboyer, jwyatt, kcarcia, kernel-maint, kernel-mgr, lgoncalv, linville, lzampier, masami256, mchehab, nmurray, ptalbert, qzhao, rvrbovsk, scweaver, steved, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 6.0-rc5 Doc Type: If docs needed, set a value
Doc Text:
A race condition flaw was found in the Linux kernel sound subsystem due to improper locking. It could lead to a NULL pointer dereference while handling the SNDCTL_DSP_SYNC ioctl. A privileged local user (root or member of the audio group) could use this flaw to crash the system, resulting in a denial of service condition.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2129874, 2129878, 2129879, 2129880, 2129881    
Bug Blocks: 2126492    

Description Mauro Matteo Cascella 2022-09-26 13:12:27 UTC
A race condition issue leading to NULL pointer dereference was found in the Linux kernel sound subsystem. A privileged local user (root or member of the audio group) could use this flaw to crash the system, resulting in a denial of service condition.

Reference and upstream patch:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8423f0b6d513b259fdab9c9bf4aaa6188d054c2d
https://lore.kernel.org/all/CAFcO6XN7JDM4xSXGhtusQfS2mSBcx50VJKwQpCq=WeLt57aaZA@mail.gmail.com/

Comment 1 Mauro Matteo Cascella 2022-09-26 14:06:40 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2129874]

Comment 3 Justin M. Forbes 2022-09-28 15:57:32 UTC
This was fixed for Fedora with the 5.19.9 stable kernel updates.