cve-2024-27043
Vulnerability from cvelistv5
Published
2024-05-01 12:54
Modified
2024-12-19 08:53
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: media: edia: dvbdev: fix a use-after-free In dvb_register_device, *pdvbdev is set equal to dvbdev, which is freed in several error-handling paths. However, *pdvbdev is not set to NULL after dvbdev's deallocation, causing use-after-frees in many places, for example, in the following call chain: budget_register |-> dvb_dmxdev_init |-> dvb_register_device |-> dvb_dmxdev_release |-> dvb_unregister_device |-> dvb_remove_device |-> dvb_device_put |-> kref_put When calling dvb_unregister_device, dmxdev->dvbdev (i.e. *pdvbdev in dvb_register_device) could point to memory that had been freed in dvb_register_device. Thereafter, this pointer is transferred to kref_put and triggering a use-after-free.
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Impacted products
Vendor Product Version
Linux Linux Version: 2.6.21
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T00:21:05.899Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-27043",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-08-15T19:22:34.576999Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-08-15T19:22:42.564Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/dvb-core/dvbdev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d0f5c28333822f9baa5280d813124920720fd856",
              "status": "affected",
              "version": "b61901024776b25ce7b8edc31bb1757c7382a88e",
              "versionType": "git"
            },
            {
              "lessThan": "f20c3270f3ed5aa6919a87e4de9bf6c05fb57086",
              "status": "affected",
              "version": "b61901024776b25ce7b8edc31bb1757c7382a88e",
              "versionType": "git"
            },
            {
              "lessThan": "096237039d00c839f3e3a5fe6d001bf0db45b644",
              "status": "affected",
              "version": "b61901024776b25ce7b8edc31bb1757c7382a88e",
              "versionType": "git"
            },
            {
              "lessThan": "0d3fe80b6d175c220b3e252efc6c6777e700e98e",
              "status": "affected",
              "version": "b61901024776b25ce7b8edc31bb1757c7382a88e",
              "versionType": "git"
            },
            {
              "lessThan": "437a111f79a2f5b2a5f21e27fdec6f40c8768712",
              "status": "affected",
              "version": "b61901024776b25ce7b8edc31bb1757c7382a88e",
              "versionType": "git"
            },
            {
              "lessThan": "779e8db7efb22316c8581d6c229636d2f5694a62",
              "status": "affected",
              "version": "b61901024776b25ce7b8edc31bb1757c7382a88e",
              "versionType": "git"
            },
            {
              "lessThan": "35674111a043b0482a9bc69da8850a83f465b07d",
              "status": "affected",
              "version": "b61901024776b25ce7b8edc31bb1757c7382a88e",
              "versionType": "git"
            },
            {
              "lessThan": "b7586e902128e4fb7bfbb661cb52e4215a65637b",
              "status": "affected",
              "version": "b61901024776b25ce7b8edc31bb1757c7382a88e",
              "versionType": "git"
            },
            {
              "lessThan": "8c64f4cdf4e6cc5682c52523713af8c39c94e6d5",
              "status": "affected",
              "version": "b61901024776b25ce7b8edc31bb1757c7382a88e",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/dvb-core/dvbdev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.21"
            },
            {
              "lessThan": "2.6.21",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.311",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.273",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.214",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.153",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.83",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.23",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.9",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: edia: dvbdev: fix a use-after-free\n\nIn dvb_register_device, *pdvbdev is set equal to dvbdev, which is freed\nin several error-handling paths. However, *pdvbdev is not set to NULL\nafter dvbdev\u0027s deallocation, causing use-after-frees in many places,\nfor example, in the following call chain:\n\nbudget_register\n  |-\u003e dvb_dmxdev_init\n        |-\u003e dvb_register_device\n  |-\u003e dvb_dmxdev_release\n        |-\u003e dvb_unregister_device\n              |-\u003e dvb_remove_device\n                    |-\u003e dvb_device_put\n                          |-\u003e kref_put\n\nWhen calling dvb_unregister_device, dmxdev-\u003edvbdev (i.e. *pdvbdev in\ndvb_register_device) could point to memory that had been freed in\ndvb_register_device. Thereafter, this pointer is transferred to\nkref_put and triggering a use-after-free."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T08:53:13.947Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856"
        },
        {
          "url": "https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086"
        },
        {
          "url": "https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644"
        },
        {
          "url": "https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e"
        },
        {
          "url": "https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712"
        },
        {
          "url": "https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62"
        },
        {
          "url": "https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d"
        },
        {
          "url": "https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b"
        },
        {
          "url": "https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5"
        }
      ],
      "title": "media: edia: dvbdev: fix a use-after-free",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-27043",
    "datePublished": "2024-05-01T12:54:11.197Z",
    "dateReserved": "2024-02-19T14:20:24.212Z",
    "dateUpdated": "2024-12-19T08:53:13.947Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-27043\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-01T13:15:49.740\",\"lastModified\":\"2024-11-21T09:03:44.053\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: edia: dvbdev: fix a use-after-free\\n\\nIn dvb_register_device, *pdvbdev is set equal to dvbdev, which is freed\\nin several error-handling paths. However, *pdvbdev is not set to NULL\\nafter dvbdev\u0027s deallocation, causing use-after-frees in many places,\\nfor example, in the following call chain:\\n\\nbudget_register\\n  |-\u003e dvb_dmxdev_init\\n        |-\u003e dvb_register_device\\n  |-\u003e dvb_dmxdev_release\\n        |-\u003e dvb_unregister_device\\n              |-\u003e dvb_remove_device\\n                    |-\u003e dvb_device_put\\n                          |-\u003e kref_put\\n\\nWhen calling dvb_unregister_device, dmxdev-\u003edvbdev (i.e. *pdvbdev in\\ndvb_register_device) could point to memory that had been freed in\\ndvb_register_device. Thereafter, this pointer is transferred to\\nkref_put and triggering a use-after-free.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: medios: edia: dvbdev: corregir un use-after-free En dvb_register_device, *pdvbdev se establece igual a dvbdev, que se libera en varias rutas de manejo de errores. Sin embargo, *pdvbdev no se establece en NULL despu\u00e9s de la desasignaci\u00f3n de dvbdev, lo que provoca use-after-free en muchos lugares, por ejemplo, en la siguiente cadena de llamadas: Budget_register |-\u0026gt; dvb_dmxdev_init |-\u0026gt; dvb_register_device |-\u0026gt; dvb_dmxdev_release |-\u0026gt; dvb_unregister_device | -\u0026gt; dvb_remove_device |-\u0026gt; dvb_device_put |-\u0026gt; kref_put Al llamar a dvb_unregister_device, dmxdev-\u0026gt;dvbdev (es decir, *pdvbdev en dvb_register_device) podr\u00eda apuntar a la memoria que se hab\u00eda liberado en dvb_register_device. A partir de entonces, este puntero se transfiere a kref_put y se activa un use-after-free.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


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.