Linux Kernel

โ€ข

severity

7.1

published

The Linux kernel's NFC/NCI subsystem can expose uninitialized kernel stack memory when processing crafted RF discovery or interface-activation notifications with zero-length technology-specific parameters. The affected handlers pass uninitialized data into NFC target records that can later be returned to user space.

Both nci_rf_discover_ntf_packet() and nci_rf_intf_activated_ntf_packet() parse notifications into stack structures that were not initialized. When a notification reports no RF technology-specific parameters, the corresponding union remains uninitialized, but is still read by nci_add_new_protocol(). Values copied from that union can reach ndev->targets and be exposed through NFC_CMD_GET_TARGET; the activation handler can also expose uninitialized activation parameters through the target ATS attribute.

The fix zero-initializes both notification structures before parsing. The issue is classified as CWE-908.


References


CVSS v3.1

7.1

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

CVSS v3.1

7.1

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

CVSS v3.1

7.1

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

SLtLaYr0tY  l&oBo$kKi4nWg$  a%tJ  yJoWuJr7  sRoOf7tRwBa4rRe6  cDrRi0t&i9cLa$lIlTyJ.C

request briefing

request briefing

S9t%aVrItM  lPo1o#k#iYnUg5  a7t0  y0o@uXr0  sVoLf5t9wFa4rCe9  cEr@iGtBiRcVaClTlJy3.L

request briefing

request briefing

SMtTa0rTt#  lMo$o7kWiYnCgM  aLtF  yYoYuIrY  s7oCf1t9wUa@r6e#  cDrCiQt@iXcWaPl1lMy5.P

request briefing

request briefing

BYNARIO s.r.l. | PIAZZA BORROMEO 12, 20129 MILAN, ITALY | VAT- IT14434720968

all rights reserved

2026

BYNARIO s.r.l. | PIAZZA BORROMEO 12, 20129 MILAN, ITALY | VAT- IT14434720968

all rights reserved

2026

BYNARIO s.r.l. | PIAZZA BORROMEO 12, 20129 MILAN, ITALY | VAT- IT14434720968

all rights reserved

2026