Files
vuln-cve/data/2022/48xxx/CVE-2022-48967.json
T

298 lines
15 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2022-48967",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-08-22T01:27:53.628Z",
"datePublished": "2024-10-21T20:05:49.740Z",
"dateUpdated": "2026-08-05T08:53:11.975Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T08:53:11.975Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFC: nci: Bounds check struct nfc_target arrays\n\nWhile running under CONFIG_FORTIFY_SOURCE=y, syzkaller reported:\n\n memcpy: detected field-spanning write (size 129) of single field \"target->sensf_res\" at net/nfc/nci/ntf.c:260 (size 18)\n\nThis appears to be a legitimate lack of bounds checking in\nnci_add_new_protocol(). Add the missing checks."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 8.8,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:A - The overflow is reached while parsing NCI RF_DISCOVER_NTF frames delivered by the NFC controller from an NFC peer/tag in RF range (nci_recv_frame → nci_rx_work → nci_ntf_packet → nci_rf_discover_ntf_packet → nci_add_new_protocol), matching established AV:A scoring for NCI bugs (CVE-2024-35915, CVE-2024-38381, CVE-2023-52502).\nAC:L - A single crafted Discover NTF (e.g. NFC-F with rf_tech_specific_params_len=0 leaving sensf_res_len uninitialized, or any path that supplies a length > array size) deterministically drives the unbounded memcpy; ~93% of random u8 lengths exceed the 18-byte field, with no race or attacker-uncontrollable precondition.\nPR:N - NFC discovery notifications are processed with no authentication from an adjacent peer while the platform NFC stack is polling, and the same parser is reachable via N_NCI without credentials; no attacker-held capability is required on the severe path.\nUI:N - Frames are handled asynchronously on nci_rx_work during normal autonomous NFC poll/discovery; no victim action such as mounting a filesystem or confirming a prompt is required.\nS:U - The out-of-bounds write corrupts kernel heap state inside struct nci_dev (targets[] and adjacent fields) within the host OS security authority, with no VM escape, IOMMU bypass, or sandbox boundary cross.\nC:H - The oversized memcpy both reads past the 18-byte source on the stack and writes past target->sensf_res into adjacent nfc_target/nci_dev heap memory, and the inflated sensf_res_len is later exported via nfc_genl_send_target netlink attributes—memory corruption with a disclosure path, scored Confidentiality High.\nI:H - This is a genuine heap out-of-bounds write of up to 255 bytes into ndev->targets[] (and past the array for late indices into n_targets and following nci_dev fields), enabling corruption of kernel NFC state and control-flow primitives per OOB-write guidance.\nA:H - Syzkaller already hit a fortify WARNING that panics under panic_on_warn, and an unbounded heap write in workqueue context reliably produces kernel oops/panic even when not fully exploited."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"net/nfc/nci/ntf.c"
],
"versions": [
{
"version": "019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5",
"lessThan": "6b37f0dc0638d13a006f2f24d2f6ca61e83bc714",
"status": "affected",
"versionType": "git"
},
{
"version": "019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5",
"lessThan": "dbdcfb9f6748218a149f62468d6297ce3f014e9c",
"status": "affected",
"versionType": "git"
},
{
"version": "019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5",
"lessThan": "cff35329070b96b4484d23f9f48a5ca2c947e750",
"status": "affected",
"versionType": "git"
},
{
"version": "019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5",
"lessThan": "6778434706940b8fad7ef35f410d2b9929f256d2",
"status": "affected",
"versionType": "git"
},
{
"version": "019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5",
"lessThan": "27eb2d7a1b9987b6d0429b7716b1ff3b82c4ffc9",
"status": "affected",
"versionType": "git"
},
{
"version": "019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5",
"lessThan": "908b2da426fe9c3ce74cf541ba40e7a4251db191",
"status": "affected",
"versionType": "git"
},
{
"version": "019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5",
"lessThan": "f41547546db9af99da2c34e3368664d7a79cefae",
"status": "affected",
"versionType": "git"
},
{
"version": "019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5",
"lessThan": "e329e71013c9b5a4535b099208493c7826ee4a64",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"net/nfc/nci/ntf.c"
],
"versions": [
{
"version": "3.4",
"status": "affected"
},
{
"version": "0",
"lessThan": "3.4",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.9.336",
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.14.302",
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.19.269",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.4.227",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.159",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.83",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.0.13",
"lessThanOrEqual": "6.0.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.4",
"versionEndExcluding": "4.9.336"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.4",
"versionEndExcluding": "4.14.302"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.4",
"versionEndExcluding": "4.19.269"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.4",
"versionEndExcluding": "5.4.227"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.4",
"versionEndExcluding": "5.10.159"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.4",
"versionEndExcluding": "5.15.83"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.4",
"versionEndExcluding": "6.0.13"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.4",
"versionEndExcluding": "6.1"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/6b37f0dc0638d13a006f2f24d2f6ca61e83bc714"
},
{
"url": "https://git.kernel.org/stable/c/dbdcfb9f6748218a149f62468d6297ce3f014e9c"
},
{
"url": "https://git.kernel.org/stable/c/cff35329070b96b4484d23f9f48a5ca2c947e750"
},
{
"url": "https://git.kernel.org/stable/c/6778434706940b8fad7ef35f410d2b9929f256d2"
},
{
"url": "https://git.kernel.org/stable/c/27eb2d7a1b9987b6d0429b7716b1ff3b82c4ffc9"
},
{
"url": "https://git.kernel.org/stable/c/908b2da426fe9c3ce74cf541ba40e7a4251db191"
},
{
"url": "https://git.kernel.org/stable/c/f41547546db9af99da2c34e3368664d7a79cefae"
},
{
"url": "https://git.kernel.org/stable/c/e329e71013c9b5a4535b099208493c7826ee4a64"
}
],
"title": "NFC: nci: Bounds check struct nfc_target arrays",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-48967",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-10-22T13:19:37.596608Z"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-10-22T13:28:38.363Z"
}
}
]
}
}