Bug 2099504 (CVE-2022-33981)

Summary: CVE-2022-33981 kernel: use-after-free in floppy driver may lead to a DoS
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, bhu, brdeoliv, bskeggs, chwhite, crwood, ddepaula, debarbos, dhoward, dvlasenk, ezulian, fhrbata, hdegoede, hkrzesin, hpa, jarod, jarodwilson, jburrell, jfaracco, jferlan, jforbes, jglisse, jlelli, joe.lawrence, jonathan, josef, jpazdziora, jshortt, jstancek, jwboyer, jwyatt, kcarcia, kernel-maint, kernel-mgr, lgoncalv, linville, lleshchi, lzampier, masami256, mchehab, nmurray, pmatouse, ptalbert, qzhao, rkeshri, rpalathi, rvrbovsk, scweaver, security-response-team, steved, tyberry, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.17.6 Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in drivers/block/floppy.c in floppy drive in the Linux Kernel. This issue could allow a local attacker to crash the system due to a race problem between raw_cmd_ioctl and seek_interrupt, which can lead to a kernel information leak.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-04 04:33:45 UTC 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: 2140542    
Bug Blocks: 2099506    

Description Marian Rehak 2022-06-21 06:50:45 UTC
drivers/block/floppy.c in the Linux kernel is vulnerable to a denial of service, because of a concurrency use-after-free flaw after deallocating raw_cmd in the raw_cmd_ioctl function.

Reference:

https://github.com/torvalds/linux/commit/233087ca063686964a53c829d547c7571e3f67bf
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.17.6

Comment 7 Wade Mealing 2022-11-07 06:10:07 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2140542]

Comment 9 Justin M. Forbes 2022-11-08 15:12:55 UTC
This was fixed for Fedora with the 5.17.6 stable kernel updates.

Comment 10 Product Security DevOps Team 2022-12-04 04:33:42 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-33981

Comment 11 Jan Pazdziora 2023-07-28 16:30:16 UTC
How was review and fix of this issue for RHEL kernel tracked / handled? I don't see any RHEL-specific bugzillas filed.