CVE-2023-53327 (GCVE-0-2023-53327)
Vulnerability from cvelistv5
Published
2025-09-16 16:12
Modified
2025-09-16 16:12
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: iommufd/selftest: Catch overflow of uptr and length syzkaller hits a WARN_ON when trying to have a uptr close to UINTPTR_MAX: WARNING: CPU: 1 PID: 393 at drivers/iommu/iommufd/selftest.c:403 iommufd_test+0xb19/0x16f0 Modules linked in: CPU: 1 PID: 393 Comm: repro Not tainted 6.2.0-c9c3395d5e3d #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014 RIP: 0010:iommufd_test+0xb19/0x16f0 Code: 94 c4 31 ff 44 89 e6 e8 a5 54 17 ff 45 84 e4 0f 85 bb 0b 00 00 41 be fb ff ff ff e8 31 53 17 ff e9 a0 f7 ff ff e8 27 53 17 ff <0f> 0b 41 be 8 RSP: 0018:ffffc90000eabdc0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8214c487 RDX: 0000000000000000 RSI: ffff88800f5c8000 RDI: 0000000000000002 RBP: ffffc90000eabe48 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: 00000000cd2b0000 R13: 00000000cd2af000 R14: 0000000000000000 R15: ffffc90000eabe68 FS: 00007f94d76d5740(0000) GS:ffff88807dd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000043 CR3: 0000000006880006 CR4: 0000000000770ee0 PKRU: 55555554 Call Trace: <TASK> ? write_comp_data+0x2f/0x90 iommufd_fops_ioctl+0x1ef/0x310 __x64_sys_ioctl+0x10e/0x160 ? __pfx_iommufd_fops_ioctl+0x10/0x10 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc Check that the user memory range doesn't overflow.
Impacted products
Vendor Product Version
Linux Linux Version: f4b20bb34c83dceade5470288f48f94ce3598ada
Version: f4b20bb34c83dceade5470288f48f94ce3598ada
Version: f4b20bb34c83dceade5470288f48f94ce3598ada
Create a notification for this product.
   Linux Linux Version: 6.2
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/iommu/iommufd/selftest.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "adac6508c235a092b91ed9c0110ecf140e9e9441",
              "status": "affected",
              "version": "f4b20bb34c83dceade5470288f48f94ce3598ada",
              "versionType": "git"
            },
            {
              "lessThan": "3fb3505636d033bbf7a0851dac63d01732c51d62",
              "status": "affected",
              "version": "f4b20bb34c83dceade5470288f48f94ce3598ada",
              "versionType": "git"
            },
            {
              "lessThan": "fd8c1a4aee973e87d890a5861e106625a33b2c4e",
              "status": "affected",
              "version": "f4b20bb34c83dceade5470288f48f94ce3598ada",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/iommu/iommufd/selftest.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.2"
            },
            {
              "lessThan": "6.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.15",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.3.*",
              "status": "unaffected",
              "version": "6.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.4",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.15",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3.2",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niommufd/selftest: Catch overflow of uptr and length\n\nsyzkaller hits a WARN_ON when trying to have a uptr close to UINTPTR_MAX:\n\n  WARNING: CPU: 1 PID: 393 at drivers/iommu/iommufd/selftest.c:403 iommufd_test+0xb19/0x16f0\n  Modules linked in:\n  CPU: 1 PID: 393 Comm: repro Not tainted 6.2.0-c9c3395d5e3d #1\n  Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014\n  RIP: 0010:iommufd_test+0xb19/0x16f0\n  Code: 94 c4 31 ff 44 89 e6 e8 a5 54 17 ff 45 84 e4 0f 85 bb 0b 00 00 41 be fb ff ff ff e8 31 53 17 ff e9 a0 f7 ff ff e8 27 53 17 ff \u003c0f\u003e 0b 41 be 8\n  RSP: 0018:ffffc90000eabdc0 EFLAGS: 00010246\n  RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8214c487\n  RDX: 0000000000000000 RSI: ffff88800f5c8000 RDI: 0000000000000002\n  RBP: ffffc90000eabe48 R08: 0000000000000000 R09: 0000000000000001\n  R10: 0000000000000001 R11: 0000000000000000 R12: 00000000cd2b0000\n  R13: 00000000cd2af000 R14: 0000000000000000 R15: ffffc90000eabe68\n  FS:  00007f94d76d5740(0000) GS:ffff88807dd00000(0000) knlGS:0000000000000000\n  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n  CR2: 0000000020000043 CR3: 0000000006880006 CR4: 0000000000770ee0\n  PKRU: 55555554\n  Call Trace:\n   \u003cTASK\u003e\n   ? write_comp_data+0x2f/0x90\n   iommufd_fops_ioctl+0x1ef/0x310\n   __x64_sys_ioctl+0x10e/0x160\n   ? __pfx_iommufd_fops_ioctl+0x10/0x10\n   do_syscall_64+0x3b/0x90\n   entry_SYSCALL_64_after_hwframe+0x72/0xdc\n\nCheck that the user memory range doesn\u0027t overflow."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-16T16:12:03.417Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/adac6508c235a092b91ed9c0110ecf140e9e9441"
        },
        {
          "url": "https://git.kernel.org/stable/c/3fb3505636d033bbf7a0851dac63d01732c51d62"
        },
        {
          "url": "https://git.kernel.org/stable/c/fd8c1a4aee973e87d890a5861e106625a33b2c4e"
        }
      ],
      "title": "iommufd/selftest: Catch overflow of uptr and length",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53327",
    "datePublished": "2025-09-16T16:12:03.417Z",
    "dateReserved": "2025-09-16T16:08:59.564Z",
    "dateUpdated": "2025-09-16T16:12:03.417Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53327\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-16T17:15:38.910\",\"lastModified\":\"2025-09-17T14:18:55.093\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\niommufd/selftest: Catch overflow of uptr and length\\n\\nsyzkaller hits a WARN_ON when trying to have a uptr close to UINTPTR_MAX:\\n\\n  WARNING: CPU: 1 PID: 393 at drivers/iommu/iommufd/selftest.c:403 iommufd_test+0xb19/0x16f0\\n  Modules linked in:\\n  CPU: 1 PID: 393 Comm: repro Not tainted 6.2.0-c9c3395d5e3d #1\\n  Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014\\n  RIP: 0010:iommufd_test+0xb19/0x16f0\\n  Code: 94 c4 31 ff 44 89 e6 e8 a5 54 17 ff 45 84 e4 0f 85 bb 0b 00 00 41 be fb ff ff ff e8 31 53 17 ff e9 a0 f7 ff ff e8 27 53 17 ff \u003c0f\u003e 0b 41 be 8\\n  RSP: 0018:ffffc90000eabdc0 EFLAGS: 00010246\\n  RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8214c487\\n  RDX: 0000000000000000 RSI: ffff88800f5c8000 RDI: 0000000000000002\\n  RBP: ffffc90000eabe48 R08: 0000000000000000 R09: 0000000000000001\\n  R10: 0000000000000001 R11: 0000000000000000 R12: 00000000cd2b0000\\n  R13: 00000000cd2af000 R14: 0000000000000000 R15: ffffc90000eabe68\\n  FS:  00007f94d76d5740(0000) GS:ffff88807dd00000(0000) knlGS:0000000000000000\\n  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\\n  CR2: 0000000020000043 CR3: 0000000006880006 CR4: 0000000000770ee0\\n  PKRU: 55555554\\n  Call Trace:\\n   \u003cTASK\u003e\\n   ? write_comp_data+0x2f/0x90\\n   iommufd_fops_ioctl+0x1ef/0x310\\n   __x64_sys_ioctl+0x10e/0x160\\n   ? __pfx_iommufd_fops_ioctl+0x10/0x10\\n   do_syscall_64+0x3b/0x90\\n   entry_SYSCALL_64_after_hwframe+0x72/0xdc\\n\\nCheck that the user memory range doesn\u0027t overflow.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/3fb3505636d033bbf7a0851dac63d01732c51d62\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/adac6508c235a092b91ed9c0110ecf140e9e9441\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fd8c1a4aee973e87d890a5861e106625a33b2c4e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…