{
  "threat_severity" : "Moderate",
  "public_date" : "2025-09-18T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: drm: bridge: adv7511: unregister cec i2c device after cec adapter",
    "id" : "2396530",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2396530"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.7",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-825",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\ndrm: bridge: adv7511: unregister cec i2c device after cec adapter\ncec_unregister_adapter() assumes that the underlying adapter ops are\ncallable. For example, if the CEC adapter currently has a valid physical\naddress, then the unregistration procedure will invalidate the physical\naddress by setting it to f.f.f.f. Whence the following kernel oops\nobserved after removing the adv7511 module:\nUnable to handle kernel execution of user memory at virtual address 0000000000000000\nInternal error: Oops: 86000004 [#1] PREEMPT_RT SMP\nCall trace:\n0x0\nadv7511_cec_adap_log_addr+0x1ac/0x1c8 [adv7511]\ncec_adap_unconfigure+0x44/0x90 [cec]\n__cec_s_phys_addr.part.0+0x68/0x230 [cec]\n__cec_s_phys_addr+0x40/0x50 [cec]\ncec_unregister_adapter+0xb4/0x118 [cec]\nadv7511_remove+0x60/0x90 [adv7511]\ni2c_device_remove+0x34/0xe0\ndevice_release_driver_internal+0x114/0x1f0\ndriver_detach+0x54/0xe0\nbus_remove_driver+0x60/0xd8\ndriver_unregister+0x34/0x60\ni2c_del_driver+0x2c/0x68\nadv7511_exit+0x1c/0x67c [adv7511]\n__arm64_sys_delete_module+0x154/0x288\ninvoke_syscall+0x48/0x100\nel0_svc_common.constprop.0+0x48/0xe8\ndo_el0_svc+0x28/0x88\nel0_svc+0x1c/0x50\nel0t_64_sync_handler+0xa8/0xb0\nel0t_64_sync+0x15c/0x160\nCode: bad PC value\n---[ end trace 0000000000000000 ]---\nProtect against this scenario by unregistering i2c_cec after\nunregistering the CEC adapter. Duly disable the CEC clock afterwards\ntoo." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2023-11-14T00:00:00Z",
    "advisory" : "RHSA-2023:7077",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "kernel-0:4.18.0-513.5.1.el8_9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-11-07T00:00:00Z",
    "advisory" : "RHSA-2023:6583",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-362.8.1.el9_3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-11-07T00:00:00Z",
    "advisory" : "RHSA-2023:6583",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-362.8.1.el9_3"
  } ],
  "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" : "Fix deferred",
    "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-2022-50412\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-50412\nhttps://lore.kernel.org/linux-cve-announce/2025091854-CVE-2022-50412-0f2e@gregkh/T" ],
  "name" : "CVE-2022-50412",
  "csaw" : false
}