Bug 2084435 (CVE-2022-1975)

Summary: CVE-2022-1975 kernel: sleep in atomic bug when firmware download timeout
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, bdettelb, bhu, bskeggs, chwhite, crwood, ddepaula, dhoward, dvlasenk, fhrbata, hdegoede, 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, rkeshri, rvrbovsk, scweaver, steved, sukulkar, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.18 rc6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-30 10:55:54 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: 2092095, 2092096    
Bug Blocks: 2084436    

Description TEJ RATHI 2022-05-12 06:52:50 UTC
The sleep-in-atomic bug in /net/nfc/netlink.c of linux that allows attacker to crash linux kernel by simulating nfc device from user-space.

[Root cause]

The root cause of this sleep-in-atomic bug is that nlmsg_new with GFP_KERNEL parameter
is called in fw_dnld_timeout which is a timer handler.

[Patch]

https://github.com/torvalds/linux/commit/4071bf121d59944d5cd2238de0642f3d7995a997

Comment 2 Rohit Keshri 2022-05-31 19:25:23 UTC
There was no shipped kernel version that was seen affected by this problem. These files are not built in our source code.

Comment 10 Product Security DevOps Team 2022-08-30 10:55:51 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-1975