{"id":"CVE-2022-1974","details":"A use-after-free flaw was found in the Linux kernel's NFC core functionality due to a race condition between kobject creation and delete. This vulnerability allows a local attacker with CAP_NET_ADMIN privilege to leak kernel information.","modified":"2026-11-04T13:06:14.278267919Z","published":"2022-08-31T15:32:58Z","related":["SUSE-SU-2022:2077-1","SUSE-SU-2022:2080-1","SUSE-SU-2022:2082-1","SUSE-SU-2022:2103-1","SUSE-SU-2022:2104-1","SUSE-SU-2022:2111-1","SUSE-SU-2022:2116-1","SUSE-SU-2022:2172-1","SUSE-SU-2022:2173-1","SUSE-SU-2022:2177-1","SUSE-SU-2022:2393-1","SUSE-SU-2022:2520-1","SUSE-SU-2022:2615-1","SUSE-SU-2022:2629-1","openSUSE-SU-2022:2173-1","openSUSE-SU-2022:2177-1"],"database_specific":{"cwe_ids":["CWE-416"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1974.json","cna_assigner":"redhat"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1974.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1974"},{"type":"FIX","url":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/torvalds/linux","events":[{"introduced":"c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a"},{"fixed":"da5c0f119203ad9728920456a0f52a6d850c01cd"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"Linux kernel 5.18 rc6"},{"last_affected":"Linux kernel 5.18 rc6"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"da5c0f119203ad9728920456a0f52a6d850c01cd"}]}]}}],"versions":["Linux kernel 5.18 rc6"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-1974.json","vanir_signatures":[{"id":"CVE-2022-1974-05bb6f53","signature_type":"Function","signature_version":"v1","source":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd","target":{"file":"net/nfc/core.c","function":"nfc_unregister_device"},"deprecated":false,"digest":{"length":797,"function_hash":"5653244638517156318383265671937536323"}},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd","target":{"file":"net/nfc/core.c","function":"nfc_activate_target"},"deprecated":false,"digest":{"function_hash":"322594729069799861492209298528583474290","length":813},"id":"CVE-2022-1974-095724f2"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd","target":{"file":"net/nfc/core.c","function":"nfc_data_exchange"},"deprecated":false,"digest":{"function_hash":"82499506870872168214570823750404957058","length":1130},"id":"CVE-2022-1974-1ff1918e"},{"target":{"file":"net/nfc/core.c","function":"nfc_dev_down"},"deprecated":false,"digest":{"function_hash":"115569969010806371805366527257472591361","length":512},"id":"CVE-2022-1974-24ca00bf","signature_type":"Function","signature_version":"v1","source":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd"},{"target":{"file":"net/nfc/core.c","function":"nfc_register_device"},"deprecated":false,"digest":{"function_hash":"57777656081582253970439011855519690613","length":842},"id":"CVE-2022-1974-50af3e54","signature_type":"Function","signature_version":"v1","source":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd"},{"signature_version":"v1","source":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd","target":{"function":"nfc_deactivate_target","file":"net/nfc/core.c"},"deprecated":false,"digest":{"function_hash":"178110938422837462472666613538991755926","length":671},"id":"CVE-2022-1974-52c4b0e8","signature_type":"Function"},{"target":{"file":"net/nfc/core.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["47245021779673290244185126642091822545","152321709545282520764807293603836686029","319544214108110860966032388363327798611","238403204850077838555277190690701792447","12682540357822559332818411517093353239","56498232626309267404870009468466467696","319544214108110860966032388363327798611","238403204850077838555277190690701792447","12682540357822559332818411517093353239","56498232626309267404870009468466467696","319544214108110860966032388363327798611","238403204850077838555277190690701792447","203687338078710184575576274265518417696","22223246962267283427178198452496311849","319544214108110860966032388363327798611","238403204850077838555277190690701792447","12682540357822559332818411517093353239","56498232626309267404870009468466467696","319544214108110860966032388363327798611","238403204850077838555277190690701792447","199078143859043952218032633125882709222","321098864133439778908432197241821065442","319544214108110860966032388363327798611","238403204850077838555277190690701792447","181189633538050611331671514458531219613","321098864133439778908432197241821065442","319544214108110860966032388363327798611","238403204850077838555277190690701792447","328297266101956595285884425457494855843","289389011039292070146160838797502875199","319544214108110860966032388363327798611","238403204850077838555277190690701792447","13594644881825755375431799681523144340","139206949046802512314924982226334962082","319544214108110860966032388363327798611","238403204850077838555277190690701792447","26704104257580667565411669647139240815","78875018907857630357995353093978216795","294204695122287945794761136579490609007","73667533731778812352305143342427499125","253234825797970658145983011698204672092","311762341389107941544726012071819494699","319544214108110860966032388363327798611","238403204850077838555277190690701792447","253234825797970658145983011698204672092","311762341389107941544726012071819494699","319544214108110860966032388363327798611","238403204850077838555277190690701792447","295041371531557079493275196082695349684","58028946823155521554693220503962464864","219580136230022347356575585439688567973","201657286477708990986638817371084539169","86343843456445205695385396959697980214","265227777159175102429852073316566774609","286298669876110386273433349781342362573","261308561030706963871521912679947814123","49382440521218284412511739518206470214","48542165290689319616462429980838411897","251751858324533521741397632775530937336","39111360068324224417579834075841137179","26537691710564626089391014045404483180"]},"id":"CVE-2022-1974-5f6683e3","signature_type":"Line","signature_version":"v1","source":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd"},{"deprecated":false,"digest":{"function_hash":"221992869992583783673301869251558174774","length":657},"id":"CVE-2022-1974-6043dbd9","signature_type":"Function","signature_version":"v1","source":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd","target":{"file":"net/nfc/core.c","function":"nfc_start_poll"}},{"source":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd","target":{"file":"net/nfc/core.c","function":"nfc_stop_poll"},"deprecated":false,"digest":{"length":431,"function_hash":"142610922594494842338224539938858765076"},"id":"CVE-2022-1974-7332e602","signature_type":"Function","signature_version":"v1"},{"digest":{"function_hash":"207789487708747017688870295776421634455","length":719},"id":"CVE-2022-1974-867d28ac","signature_type":"Function","signature_version":"v1","source":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd","target":{"file":"net/nfc/core.c","function":"nfc_dev_up"},"deprecated":false},{"target":{"file":"net/nfc/core.c","function":"nfc_dep_link_up"},"deprecated":false,"digest":{"length":833,"function_hash":"7453987437455016246463623527116441127"},"id":"CVE-2022-1974-8fd7ae3d","signature_type":"Function","signature_version":"v1","source":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd"},{"signature_version":"v1","source":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd","target":{"file":"net/nfc/core.c","function":"nfc_dep_link_down"},"deprecated":false,"digest":{"function_hash":"188558714589667235672573463409465596802","length":610},"id":"CVE-2022-1974-a032bc23","signature_type":"Function"},{"target":{"file":"net/nfc/core.c","function":"nfc_enable_se"},"deprecated":false,"digest":{"length":785,"function_hash":"186482870425072059843634121530284812022"},"id":"CVE-2022-1974-a347470c","signature_type":"Function","signature_version":"v1","source":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd"},{"id":"CVE-2022-1974-eb9d34a9","signature_type":"Function","signature_version":"v1","source":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd","target":{"file":"net/nfc/core.c","function":"nfc_disable_se"},"deprecated":false,"digest":{"function_hash":"213537474265828201171670458090894913278","length":731}},{"signature_version":"v1","source":"https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd","target":{"file":"net/nfc/core.c","function":"nfc_fw_download"},"deprecated":false,"digest":{"function_hash":"108823213923929872532515968710087360532","length":590},"id":"CVE-2022-1974-f831ca07","signature_type":"Function"}],"vanir_signatures_modified":"2026-11-04T13:06:14Z"}}],"schema_version":"1.9.2"}