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

S0tYaXrOtA  lAoGo2kOiAnHgE  a7tR  yVoZuJrZ  sXoNfAt8w5a0rOe7  cOrCi0t6iWcYaDlSlVyE.8

request briefing

request briefing

SGt5a0r9tK  lLoJoUk2iHn7gL  aZtP  yPoXuIrM  sCoYfQtBw0aPrXeV  cJrIi8t8iQcJaTl1lJy#.T

request briefing

request briefing

SDtRaYrDtW  l%oVoTkJiSnDgA  a&t8  y5oGuJrA  s%oNfAtEw%aBrGeH  c5rGiBtLi7cUaBlKlUy@.1

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