Bug 2320719 (CVE-2022-48967) - CVE-2022-48967 kernel: NFC: nci: Bounds check struct nfc_target arrays
Summary: CVE-2022-48967 kernel: NFC: nci: Bounds check struct nfc_target arrays
Keywords:
Status: NEW
Alias: CVE-2022-48967
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 21:04 UTC by OSIDB Bzimport
Modified: 2024-10-22 10:43 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 21:04:50 UTC
In the Linux kernel, the following vulnerability has been resolved:

NFC: nci: Bounds check struct nfc_target arrays

While running under CONFIG_FORTIFY_SOURCE=y, syzkaller reported:

  memcpy: detected field-spanning write (size 129) of single field "target->sensf_res" at net/nfc/nci/ntf.c:260 (size 18)

This appears to be a legitimate lack of bounds checking in
nci_add_new_protocol(). Add the missing checks.

Comment 1 Mauro Matteo Cascella 2024-10-22 10:41:11 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024102144-CVE-2022-48967-c2ae@gregkh/T


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