Linux
ieee802154: admin-gate legacy LLSEC dump operations
In the Linux kernel, the following vulnerability has been resolved: ieee802154: admin-gate legacy LLSEC dump operations In net/ieee802154/netlink.c, the legacy IEEE802154_NL family ops table builds the LLSEC dump entries (LLSEC_LIST_KEY, LLSEC_LIST_DEV, LLSEC_LIST_DEVKEY, LLSEC_LIST_SECLEVEL) with IEEE802154_DUMP() which sets no .flags, so generic netlink runs them ungated. The modern nl802154 family admin-gates the equivalent reads via NL802154_CMD_GET_SEC_KEY and friends with .flags = GENL_ADMIN_PERM. Any local uid that can open AF_NETLINK / NETLINK_GENERIC can resolve the "802.15.4 MAC" family and dump LLSEC_LIST_KEY on any wpan netdev that has an LLSEC key installed; the dump handler writes the raw 16-byte AES-128 key bytes (IEEE802154_ATTR_LLSEC_KEY_BYTES, copied verbatim from struct ieee802154_llsec_key.key) into the reply. Recovering the AES key compromises 802.15.4 LLSEC link confidentiality and authenticity, since LLSEC uses CCM* and the same key authenticates and encrypts frames. Impact: any local uid with no capabilities can read the raw 16-byte AES-128 LLSEC key from the kernel keytable on any wpan netdev that has an administrator-installed LLSEC key, by issuing an LLSEC_LIST_KEY dump on the legacy IEEE802154_NL generic-netlink family. Introduce IEEE802154_DUMP_PRIV() mirroring IEEE802154_DUMP() but setting .flags = GENL_ADMIN_PERM, and use it for the four LLSEC dump entries. LIST_PHY and LIST_IFACE retain IEEE802154_DUMP() because the modern nl802154 family exposes their equivalents to unprivileged readers by design (NL802154_CMD_GET_WPAN_PHY and NL802154_CMD_GET_INTERFACE carry "can be retrieved by unprivileged users" annotations).
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3e9c156e2c210ab67b12b1b692983a6b97c19d3f, < 3465035ba18b1ed50f8d201897d14135d20532b0
- >= 3e9c156e2c210ab67b12b1b692983a6b97c19d3f, < dffe745760f38fac0b8288e0dc4759b23d9888ff
- >= 3e9c156e2c210ab67b12b1b692983a6b97c19d3f, < e84708ef7521f3bffc85a449954042018abbd60e
- >= 3e9c156e2c210ab67b12b1b692983a6b97c19d3f, < 5abe94a205539d27945cda3ba43fdcfe295cf2c8
- >= 3e9c156e2c210ab67b12b1b692983a6b97c19d3f, < 09fd25cd8cd80a6b3edef04e53a7324d06ac2180
- >= 3e9c156e2c210ab67b12b1b692983a6b97c19d3f, < 1905ebabe638c946aced00c4bb664da26cac56d5
- >= 3e9c156e2c210ab67b12b1b692983a6b97c19d3f, < 6383248058956f2a52d720b1e9f8921099cdae04
- >= 3e9c156e2c210ab67b12b1b692983a6b97c19d3f, < 9c1e0b6d49471a712511d23fc9d06901561135e8
Fixed in 3465035ba18b1ed50f8d201897d14135d20532b0, dffe745760f38fac0b8288e0dc4759b23d9888ff, e84708ef7521f3bffc85a449954042018abbd60e, 5abe94a205539d27945cda3ba43fdcfe295cf2c8, 09fd25cd8cd80a6b3edef04e53a7324d06ac2180, 1905ebabe638c946aced00c4bb664da26cac56d5, 6383248058956f2a52d720b1e9f8921099cdae04, 9c1e0b6d49471a712511d23fc9d06901561135e8
- 3.16
Fixed in 0, 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 3465035ba18b1ed50f8d201897d14135d20532b0 or dffe745760f38fac0b8288e0dc4759b23d9888ff or e84708ef7521f3bffc85a449954042018abbd60e or 5abe94a205539d27945cda3ba43fdcfe295cf2c8 or 09fd25cd8cd80a6b3edef04e53a7324d06ac2180 or 1905ebabe638c946aced00c4bb664da26cac56d5 or 6383248058956f2a52d720b1e9f8921099cdae04 or 9c1e0b6d49471a712511d23fc9d06901561135e8 or later.
Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.