{
  "threat_severity" : "Moderate",
  "public_date" : "2025-12-24T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: iommufd: Set end correctly when doing batch carry",
    "id" : "2425045",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2425045"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.3",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-476",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\niommufd: Set end correctly when doing batch carry\nEven though the test suite covers this it somehow became obscured that\nthis wasn't working.\nThe test iommufd_ioas.mock_domain.access_domain_destory would blow up\nrarely.\nend should be set to 1 because this just pushed an item, the carry, to the\npfns list.\nSometimes the test would blow up with:\nBUG: kernel NULL pointer dereference, address: 0000000000000000\n#PF: supervisor read access in kernel mode\n#PF: error_code(0x0000) - not-present page\nPGD 0 P4D 0\nOops: 0000 [#1] SMP\nCPU: 5 PID: 584 Comm: iommufd Not tainted 6.5.0-rc1-dirty #1236\nHardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014\nRIP: 0010:batch_unpin+0xa2/0x100 [iommufd]\nCode: 17 48 81 fe ff ff 07 00 77 70 48 8b 15 b7 be 97 e2 48 85 d2 74 14 48 8b 14 fa 48 85 d2 74 0b 40 0f b6 f6 48 c1 e6 04 48 01 f2 <48> 8b 3a 48 c1 e0 06 89 ca 48 89 de 48 83 e7 f0 48 01 c7 e8 96 dc\nRSP: 0018:ffffc90001677a58 EFLAGS: 00010246\nRAX: 00007f7e2646f000 RBX: 0000000000000000 RCX: 0000000000000001\nRDX: 0000000000000000 RSI: 00000000fefc4c8d RDI: 0000000000fefc4c\nRBP: ffffc90001677a80 R08: 0000000000000048 R09: 0000000000000200\nR10: 0000000000030b98 R11: ffffffff81f3bb40 R12: 0000000000000001\nR13: ffff888101f75800 R14: ffffc90001677ad0 R15: 00000000000001fe\nFS:  00007f9323679740(0000) GS:ffff8881ba540000(0000) knlGS:0000000000000000\nCS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\nCR2: 0000000000000000 CR3: 0000000105ede003 CR4: 00000000003706a0\nDR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000\nDR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400\nCall Trace:\n<TASK>\n? show_regs+0x5c/0x70\n? __die+0x1f/0x60\n? page_fault_oops+0x15d/0x440\n? lock_release+0xbc/0x240\n? exc_page_fault+0x4a4/0x970\n? asm_exc_page_fault+0x27/0x30\n? batch_unpin+0xa2/0x100 [iommufd]\n? batch_unpin+0xba/0x100 [iommufd]\n__iopt_area_unfill_domain+0x198/0x430 [iommufd]\n? __mutex_lock+0x8c/0xb80\n? __mutex_lock+0x6aa/0xb80\n? xa_erase+0x28/0x30\n? iopt_table_remove_domain+0x162/0x320 [iommufd]\n? lock_release+0xbc/0x240\niopt_area_unfill_domain+0xd/0x10 [iommufd]\niopt_table_remove_domain+0x195/0x320 [iommufd]\niommufd_hw_pagetable_destroy+0xb3/0x110 [iommufd]\niommufd_object_destroy_user+0x8e/0xf0 [iommufd]\niommufd_device_detach+0xc5/0x140 [iommufd]\niommufd_selftest_destroy+0x1f/0x70 [iommufd]\niommufd_object_destroy_user+0x8e/0xf0 [iommufd]\niommufd_destroy+0x3a/0x50 [iommufd]\niommufd_fops_ioctl+0xfb/0x170 [iommufd]\n__x64_sys_ioctl+0x40d/0x9a0\ndo_syscall_64+0x3c/0x80\nentry_SYSCALL_64_after_hwframe+0x46/0xb0" ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-04-30T00:00:00Z",
    "advisory" : "RHSA-2024:2394",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-427.13.1.el9_4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-04-30T00:00:00Z",
    "advisory" : "RHSA-2024:2394",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-427.13.1.el9_4"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2023-54060\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-54060\nhttps://lore.kernel.org/linux-cve-announce/2025122428-CVE-2023-54060-2029@gregkh/T" ],
  "name" : "CVE-2023-54060",
  "csaw" : false
}