CVE-2022-1974

Source
https://cve.org/CVERecord?id=CVE-2022-1974
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-1974.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-1974
Downstream
CLSA (2)
DEBIAN (1)
OESA (1)
openSUSE (2)
SUSE (14)
UBUNTU (1)
Related
Published
2022-08-31T15:32:58Z
Modified
2026-10-22T15:53:07Z
Summary
[none]
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.

Database specific
{
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-416"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1974.json"
}
References

Affected packages

Git / github.com/torvalds/linux

Affected ranges

Type
GIT
Repo
https://github.com/torvalds/linux
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "Linux kernel 5.18 rc6"
                },
                {
                    "last_affected": "Linux kernel 5.18 rc6"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
        },
        {
            "range": [
                {
                    "fixed": "da5c0f119203ad9728920456a0f52a6d850c01cd"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

Linux kernel 5.*
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
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "5653244638517156318383265671937536323",
            "length": 797
        },
        "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": {
            "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_activate_target"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "82499506870872168214570823750404957058",
            "length": 1130
        },
        "id": "CVE-2022-1974-1ff1918e",
        "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": "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_dev_down"
        }
    },
    {
        "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",
        "target": {
            "file": "net/nfc/core.c",
            "function": "nfc_register_device"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "178110938422837462472666613538991755926",
            "length": 671
        },
        "id": "CVE-2022-1974-52c4b0e8",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd",
        "target": {
            "file": "net/nfc/core.c",
            "function": "nfc_deactivate_target"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "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"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-1974-5f6683e3",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd",
        "target": {
            "file": "net/nfc/core.c"
        }
    },
    {
        "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"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "142610922594494842338224539938858765076",
            "length": 431
        },
        "id": "CVE-2022-1974-7332e602",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd",
        "target": {
            "file": "net/nfc/core.c",
            "function": "nfc_stop_poll"
        }
    },
    {
        "deprecated": false,
        "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,
        "digest": {
            "function_hash": "7453987437455016246463623527116441127",
            "length": 833
        },
        "id": "CVE-2022-1974-8fd7ae3d",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd",
        "target": {
            "file": "net/nfc/core.c",
            "function": "nfc_dep_link_up"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "188558714589667235672573463409465596802",
            "length": 610
        },
        "id": "CVE-2022-1974-a032bc23",
        "signature_type": "Function",
        "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": "186482870425072059843634121530284812022",
            "length": 785
        },
        "id": "CVE-2022-1974-a347470c",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd",
        "target": {
            "file": "net/nfc/core.c",
            "function": "nfc_enable_se"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "213537474265828201171670458090894913278",
            "length": 731
        },
        "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": "108823213923929872532515968710087360532",
            "length": 590
        },
        "id": "CVE-2022-1974-f831ca07",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/torvalds/linux/commit/da5c0f119203ad9728920456a0f52a6d850c01cd",
        "target": {
            "file": "net/nfc/core.c",
            "function": "nfc_fw_download"
        }
    }
]
vanir_signatures_modified
"2026-10-22T15:53:07Z"