Skip to content
Heist/ feed
Back to feed
HighFix available

NFC: nci: Bounds check struct nfc_target arrays

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.14.302, 4.19.269, 4.9.336, 5.10.159, 5.15.83, 5.4.227, 6.0.13
CVEs
CVE-2022-48967
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 00:40 UTC · Revision 1

Source evidence

NFC: nci: Bounds check struct nfc_target arrays

core-osv · Original source

Published 21 Oct 2024, 20:05 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.

osv:CVE-2022-48967

Kernel

Fixed versions: 4.9.336, 4.14.302, 4.19.269, 5.4.227, 5.10.159, 5.15.83, 6.0.13

Complete source record
{
  "id": "c991898ff1b3901ed6838dde0af45079a26430b774b88755f821357e6a7bf8c3",
  "url": "https://osv.dev/vulnerability/CVE-2022-48967",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "NFC: nci: Bounds check struct nfc_target arrays",
    "summary": "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.",
    "evidence": "osv:CVE-2022-48967",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.9.336",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.14.302",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.19.269",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.227",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.159",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.83",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.0.13",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-48967",
      "aliases": [
        "CVE-2022-48967"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "019c4fbaa790e2b3f11dab0c8b7d9896d77db3e5"
                },
                {
                  "fixed": "6b37f0dc0638d13a006f2f24d2f6ca61e83bc714"
                },
                {
                  "fixed": "dbdcfb9f6748218a149f62468d6297ce3f014e9c"
                },
                {
                  "fixed": "cff35329070b96b4484d23f9f48a5ca2c947e750"
                },
                {
                  "fixed": "6778434706940b8fad7ef35f410d2b9929f256d2"
                },
                {
                  "fixed": "27eb2d7a1b9987b6d0429b7716b1ff3b82c4ffc9"
                },
                {
                  "fixed": "908b2da426fe9c3ce74cf541ba40e7a4251db191"
                },
                {
                  "fixed": "f41547546db9af99da2c34e3368664d7a79cefae"
                },
                {
                  "fixed": "e329e71013c9b5a4535b099208493c7826ee4a64"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48967.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.4.0"
                },
                {
                  "fixed": "4.9.336"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.10.0"
                },
                {
                  "fixed": "4.14.302"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "4.19.269"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.227"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.159"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.83"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.0.13"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48967.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.633493015Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/27eb2d7a1b9987b6d0429b7716b1ff3b82c4ffc9",
        "https://git.kernel.org/stable/c/6778434706940b8fad7ef35f410d2b9929f256d2",
        "https://git.kernel.org/stable/c/6b37f0dc0638d13a006f2f24d2f6ca61e83bc714",
        "https://git.kernel.org/stable/c/908b2da426fe9c3ce74cf541ba40e7a4251db191",
        "https://git.kernel.org/stable/c/cff35329070b96b4484d23f9f48a5ca2c947e750",
        "https://git.kernel.org/stable/c/dbdcfb9f6748218a149f62468d6297ce3f014e9c",
        "https://git.kernel.org/stable/c/e329e71013c9b5a4535b099208493c7826ee4a64",
        "https://git.kernel.org/stable/c/f41547546db9af99da2c34e3368664d7a79cefae",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48967.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-48967",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48967.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-48967",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521042,
  "published_at": "2024-10-21T20:05:49.74+00:00"
}