Bug 2502243 (CVE-2026-63831) - CVE-2026-63831 kernel: mac802154: llsec: add skb_cow_data() before in-place crypto
Summary: CVE-2026-63831 kernel: mac802154: llsec: add skb_cow_data() before in-place c...
Keywords:
Status: NEW
Alias: CVE-2026-63831
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-19 13:03 UTC by OSIDB Bzimport
Modified: 2026-10-30 13:05 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:71016 0 None None None 2026-09-23 18:08:43 UTC
Red Hat Product Errata RHSA-2026:71213 0 None None None 2026-09-24 01:02:41 UTC
Red Hat Product Errata RHSA-2026:71232 0 None None None 2026-09-24 05:52:39 UTC
Red Hat Product Errata RHSA-2026:71233 0 None None None 2026-09-24 03:00:58 UTC
Red Hat Product Errata RHSA-2026:88687 0 None None None 2026-10-23 13:39:16 UTC
Red Hat Product Errata RHSA-2026:91489 0 None None None 2026-10-28 01:10:00 UTC
Red Hat Product Errata RHSA-2026:91492 0 None None None 2026-10-28 01:14:28 UTC
Red Hat Product Errata RHSA-2026:91493 0 None None None 2026-10-28 00:48:47 UTC
Red Hat Product Errata RHSA-2026:91585 0 None None None 2026-10-28 07:07:14 UTC
Red Hat Product Errata RHSA-2026:92993 0 None None None 2026-10-30 06:30:54 UTC
Red Hat Product Errata RHSA-2026:92997 0 None None None 2026-10-30 07:34:49 UTC
Red Hat Product Errata RHSA-2026:93047 0 None None None 2026-10-30 13:05:43 UTC

Description OSIDB Bzimport 2026-07-19 13:03:41 UTC
In the Linux kernel, the following vulnerability has been resolved:

mac802154: llsec: add skb_cow_data() before in-place crypto

llsec_do_encrypt_unauth(), llsec_do_encrypt_auth(),
llsec_do_decrypt_unauth(), and llsec_do_decrypt_auth() all perform
in-place cryptographic transformations on skb data.  They build a
scatterlist with sg_init_one() pointing into the skb's linear data area
and then pass the same scatterlist as both src and dst to the crypto API
(e.g. crypto_skcipher_encrypt/decrypt, crypto_aead_encrypt/decrypt).

On the RX path, __ieee802154_rx_handle_packet() clones the received skb
before handing it to each subscriber via ieee802154_subif_frame().  The
cloned skb shares the same underlying data buffer via reference
counting.  When llsec_do_decrypt() subsequently modifies this shared
buffer in place, it corrupts data that other clones -- potentially
belonging to other sockets or subsystems -- still reference.

On the TX path, similar data sharing can occur when an skb's head has
been cloned (skb_cloned() returns true).

The fix is to call skb_cow_data() before performing any in-place crypto
operation.  skb_cow_data() ensures that the skb's data area is not
shared: if the skb head is cloned or the data spans multiple fragments,
it copies the data into a private buffer that can be safely modified in
place.  This is the same pattern used by:

  - ESP (net/ipv4/esp4.c, net/ipv6/esp6.c)
  - MACsec (drivers/net/macsec.c)
  - WireGuard (drivers/net/wireguard/receive.c)
  - TIPC (net/tipc/crypto.c)

Without this guard, in-place crypto on shared skb data leads to:
  - Silent data corruption of other skb clones
  - Use-after-free when the crypto API scatterwalk writes through a
    page that has already been freed by another clone's kfree_skb()
  - Kernel crashes under concurrent 802.15.4 traffic with security
    enabled (KASAN/KMSAN reports slab-use-after-free)

Found by 0sec (https://0sec.ai) using automated source analysis.

Comment 3 Jon Orris 2026-09-23 18:08:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:71016 https://access.redhat.com/errata/RHSA-2026:71016

Comment 4 Jon Orris 2026-09-24 01:02:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:71213 https://access.redhat.com/errata/RHSA-2026:71213

Comment 5 Jon Orris 2026-09-24 03:00:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:71233 https://access.redhat.com/errata/RHSA-2026:71233

Comment 6 Jon Orris 2026-09-24 05:52:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:71232 https://access.redhat.com/errata/RHSA-2026:71232

Comment 8 Jon Orris 2026-10-23 13:39:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:88687 https://access.redhat.com/errata/RHSA-2026:88687

Comment 11 Jon Orris 2026-10-28 00:48:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:91493 https://access.redhat.com/errata/RHSA-2026:91493

Comment 12 Jon Orris 2026-10-28 01:09:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:91489 https://access.redhat.com/errata/RHSA-2026:91489

Comment 13 Jon Orris 2026-10-28 01:14:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:91492 https://access.redhat.com/errata/RHSA-2026:91492

Comment 14 Jon Orris 2026-10-28 07:07:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:91585 https://access.redhat.com/errata/RHSA-2026:91585

Comment 15 Jon Orris 2026-10-30 06:30:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:92993 https://access.redhat.com/errata/RHSA-2026:92993

Comment 16 Jon Orris 2026-10-30 07:34:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:92997 https://access.redhat.com/errata/RHSA-2026:92997

Comment 17 Jon Orris 2026-10-30 13:05:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:93047 https://access.redhat.com/errata/RHSA-2026:93047


Note You need to log in before you can comment on or make changes to this bug.