Skip to content
Heist/ feed
Unrated

soc: aspeed: lpc-snoop: Fix usercopy overflow in snoop_file_read

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: soc: aspeed: lpc-snoop: Fix usercopy overflow in snoop_file_read put_fifo_with_discard() acts as both producer and consumer on the kfifo: it calls kfifo_skip() (advances out) and kfifo_put() (advances in) from the IRQ handler without synchronizing with snoop_file_read(), which also consumes via kfifo_to_user(). On SMP systems this concurrent access can leave (in - out) larger than the ring buffer, so __kfifo_to_user()'s clamp to (in - out) is ineffective and kfifo_copy_to_user() can attempt a copy_to_user() past the kmalloc-2k backing store: usercopy: Kernel memory exposure attempt detected from SLUB object 'kmalloc-2k' (offset 0, size 2049)! kernel BUG at mm/usercopy.c! Call trace: usercopy_abort __check_heap_object __check_object_size kfifo_copy_to_user __kfifo_to_user snoop_file_read vfs_read Serialize kfifo access with a per-channel spinlock shared between the IRQ handler (producer) and the file reader (consumer). Annotate @fifo with __guarded_by(&lock) and opt the driver into context analysis so the compiler enforces that all fifo access holds the lock.

Announced Source revision 1
Original source ↗

CVE-2026-74729

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-74729

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "3772e5da445420543b25825ac2b5971f3743f6e8",
        "lessThan": "b87c0d24386ed5106feac12034fe09d893ccb469",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3772e5da445420543b25825ac2b5971f3743f6e8",
        "lessThan": "afe2527eae0b51d5e8ddd77293afab3a5a1311a4",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3772e5da445420543b25825ac2b5971f3743f6e8",
        "lessThan": "868c478abce858135db3eb65548a577e4b6747ac",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3772e5da445420543b25825ac2b5971f3743f6e8",
        "lessThan": "131ab677b03349a5ae48da8722ec7075b37ec66e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3772e5da445420543b25825ac2b5971f3743f6e8",
        "lessThan": "1acef6d85bfd98bd9dfe1f08bffa397a4dda8a6f",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/soc/aspeed/Makefile",
      "drivers/soc/aspeed/aspeed-lpc-snoop.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.19"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.19",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.114",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.57",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.9",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/soc/aspeed/Makefile",
      "drivers/soc/aspeed/aspeed-lpc-snoop.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-74729

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#46594 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement