{
  "threat_severity" : "Low",
  "public_date" : "2024-08-08T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: gpio: pca953x: fix pca953x_irq_bus_sync_unlock race",
    "id" : "2303634",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2303634"
  },
  "cvss3" : {
    "cvss3_base_score" : "4.4",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-667",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\ngpio: pca953x: fix pca953x_irq_bus_sync_unlock race\nEnsure that `i2c_lock' is held when setting interrupt latch and mask in\npca953x_irq_bus_sync_unlock() in order to avoid races.\nThe other (non-probe) call site pca953x_gpio_set_multiple() ensures the\nlock is held before calling pca953x_write_regs().\nThe problem occurred when a request raced against irq_bus_sync_unlock()\napproximately once per thousand reboots on an i.MX8MP based system.\n* Normal case\n0-0022: write register AI|3a {03,02,00,00,01} Input latch P0\n0-0022: write register AI|49 {fc,fd,ff,ff,fe} Interrupt mask P0\n0-0022: write register AI|08 {ff,00,00,00,00} Output P3\n0-0022: write register AI|12 {fc,00,00,00,00} Config P3\n* Race case\n0-0022: write register AI|08 {ff,00,00,00,00} Output P3\n0-0022: write register AI|08 {03,02,00,00,01} *** Wrong register ***\n0-0022: write register AI|12 {fc,00,00,00,00} Config P3\n0-0022: write register AI|49 {fc,fd,ff,ff,fe} Interrupt mask P0" ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-05-13T00:00:00Z",
    "advisory" : "RHSA-2025:6966",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-570.12.1.el9_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-05-13T00:00:00Z",
    "advisory" : "RHSA-2025:6966",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-570.12.1.el9_6"
  } ],
  "package_state" : [ {
    "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" : "Out of support scope",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "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" : "Affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-42253\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-42253\nhttps://lore.kernel.org/linux-cve-announce/2024080835-CVE-2024-42253-0c21@gregkh/T" ],
  "name" : "CVE-2024-42253",
  "csaw" : false
}