{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2024-49857", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-10-21T12:17:06.016Z", "datePublished": "2024-10-21T12:18:48.784Z", "dateUpdated": "2026-08-05T11:40:06.720Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T11:40:06.720Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: iwlwifi: mvm: set the cipher for secured NDP ranging\n\nThe cipher pointer is not set, but is derefereced trying to set its\ncontent, which leads to a NULL pointer dereference.\nFix it by pointing to the cipher parameter before dereferencing." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H", "baseScore": 7.1, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:L - The vulnerable code is reached only from the local nl80211/netlink command NL80211_CMD_PEER_MEASUREMENT_START issued by userspace on the host; no remote or over-the-air frame drives the faulting code, which executes while building the firmware range-request command before any wireless exchange occurs.\nAC:L - Once a PASN entry exists for the associated AP's BSSID, the attacker deterministically triggers the deref by issuing a pmsr FTM request with trigger_based/non_trigger_based set, both fields taken verbatim from user-supplied netlink attributes; there is no race and no condition outside the attacker's control.\nPR:L - The nl80211 handler is gated by GENL_UNS_ADMIN_PERM, i.e. CAP_NET_ADMIN relative to the user namespace owning the wiphy's netns, which is obtainable by an unprivileged user in a userns-owned netns holding the wireless device (and is held by ordinary wireless-management daemons rather than requiring init-namespace root).\nUI:N - The attacker performs every step — association, PASN entry setup, and the measurement request — with no action required from any other user or victim.\nS:U - The uninitialized-pointer write happens in kernel context within the same security authority as the caller; no VM, IOMMU, or sandbox boundary is crossed.\nC:N - The defect is purely a write through an uninitialized pointer of a small fixed cipher enum value; it yields no read primitive and returns no kernel memory to the attacker.\nI:H - On kernels built without stack auto-initialization, `target.cipher` holds a stale kernel pointer left by the immediately preceding `iwl_mvm_ftm_put_target()` frame, so `*target->cipher = ...` silently corrupts a live kernel object at a semi-deterministic address — memory corruption that can be leveraged against kernel data structures.\nA:H - In the common CONFIG_INIT_STACK_ALL_ZERO configuration the pointer is NULL, so the write faults immediately and oopses the kernel; in other configurations the wild write corrupts kernel state and crashes the system." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c" ], "versions": [ { "version": "626be4bf99f6250cd66da5d311a72ad7455c5a64", "lessThan": "b3322a6d6aa9bc17b395c4b38d3b97578887aa8a", "status": "affected", "versionType": "git" }, { "version": "626be4bf99f6250cd66da5d311a72ad7455c5a64", "lessThan": "a949075d4bbf1ca83ccdeaa6ef4ac2ce7526c5f4", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c" ], "versions": [ { "version": "6.11", "status": "affected" }, { "version": "0", "lessThan": "6.11", "status": "unaffected", "versionType": "semver" }, { "version": "6.11.2", "lessThanOrEqual": "6.11.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.12", "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": "6.11", "versionEndExcluding": "6.11.2" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.11", "versionEndExcluding": "6.12" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/b3322a6d6aa9bc17b395c4b38d3b97578887aa8a" }, { "url": "https://git.kernel.org/stable/c/a949075d4bbf1ca83ccdeaa6ef4ac2ce7526c5f4" } ], "title": "wifi: iwlwifi: mvm: set the cipher for secured NDP ranging", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "id": "CVE-2024-49857", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "version": "2.0.3", "timestamp": "2024-10-21T12:56:09.512718Z" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-10-21T13:04:10.927Z" } } ] } }