Skip to contentSkip to conversation

CVE-2026-68125: mac802154: llsec: reject frames shorter than the authentication tag

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 10

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

mac802154: llsec: reject frames shorter than the authentication tag

llsec_do_decrypt_auth() computes the associated-data length for the AEAD request as

	assoclen += datalen - authlen;

where datalen is the number of bytes after the MAC header and authlen (4, 8 or 16) is the length of the authentication tag. Nothing verifies that the frame actually carries at least authlen payload bytes. A secured frame whose payload is shorter than the tag makes datalen - authlen negative; assoclen is then passed to aead_request_set_ad() as an unsigned value close to 4 GiB, so crypto_aead_decrypt() walks far off the end of the scatterlist that only spans the real frame.

The frame is fully attacker-controlled and reaches this path from any IEEE 802.15.4 peer in radio range. Reject frames whose payload is shorter than the authentication tag before the subtraction.

Dynamically reproduced on a KASAN kernel as a general-protection-fault in the AEAD scatterwalk, and the fix confirmed.

The Linux kernel CVE team has assigned CVE-2026-68125 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 3.16 with commit 4c14a2fb5d143e4ed94143be2b8c1961b47df9af and fixed in 6.6.148 with commit 5bbf0cd9b6a7076af86c75e87e180099be2e11ae
	Issue introduced in 3.16 with commit 4c14a2fb5d143e4ed94143be2b8c1961b47df9af and fixed in 6.12.101 with commit de80808f37d99c6dc67bb6f97eea00c8f57a8821
	Issue introduced in 3.16 with commit 4c14a2fb5d143e4ed94143be2b8c1961b47df9af and fixed in 6.18.42 with commit f20dedce0429b293d4bad604e0d3f65d8ac96c83
	Issue introduced in 3.16 with commit 4c14a2fb5d143e4ed94143be2b8c1961b47df9af and fixed in 7.1.6 with commit e09e0301d616c1ef38a5e64e8e4326fd39df13cc
	Issue introduced in 3.16 with commit 4c14a2fb5d143e4ed94143be2b8c1961b47df9af and fixed in 7.2-rc5 with commit fd3a3f28ed60c6af4b2a39933b151d6b27842c3b

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-68125

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	net/mac802154/llsec.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/5bbf0cd9b6a7076af86c75e87e180099be2e11ae
	https://git.kernel.org/stable/c/de80808f37d99c6dc67bb6f97eea00c8f57a8821
	https://git.kernel.org/stable/c/f20dedce0429b293d4bad604e0d3f65d8ac96c83
	https://git.kernel.org/stable/c/e09e0301d616c1ef38a5e64e8e4326fd39df13cc
	https://git.kernel.org/stable/c/fd3a3f28ed60c6af4b2a39933b151d6b27842c3b