cve-2022-48807
Vulnerability from cvelistv5
Published
2024-07-16 11:43
Modified
2024-12-19 08:08
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: ice: Fix KASAN error in LAG NETDEV_UNREGISTER handler Currently, the same handler is called for both a NETDEV_BONDING_INFO LAG unlink notification as for a NETDEV_UNREGISTER call. This is causing a problem though, since the netdev_notifier_info passed has a different structure depending on which event is passed. The problem manifests as a call trace from a BUG: KASAN stack-out-of-bounds error. Fix this by creating a handler specific to NETDEV_UNREGISTER that only is passed valid elements in the netdev_notifier_info struct for the NETDEV_UNREGISTER event. Also included is the removal of an unbalanced dev_put on the peer_netdev and related braces.
Impacted products
Vendor Product Version
Linux Linux Version: 6a8b357278f5f8b9817147277ab8f12879dce8a8
Version: 6a8b357278f5f8b9817147277ab8f12879dce8a8
Version: 6a8b357278f5f8b9817147277ab8f12879dce8a8
Create a notification for this product.
   Linux Linux Version: 5.15
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            providerMetadata: {
               dateUpdated: "2024-08-03T15:25:01.535Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/f9daedc3ab8f673e3a9374b91a89fbf1174df469",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/faa9bcf700ca1a0d09f92502a6b65d3ce313fb46",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/bea1898f65b9b7096cb4e73e97c83b94718f1fa1",
               },
            ],
            title: "CVE Program Container",
         },
         {
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2022-48807",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "no",
                           },
                           {
                              "Technical Impact": "partial",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-09-10T16:58:44.489230Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-09-11T17:34:13.644Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
      ],
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "drivers/net/ethernet/intel/ice/ice_lag.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "f9daedc3ab8f673e3a9374b91a89fbf1174df469",
                     status: "affected",
                     version: "6a8b357278f5f8b9817147277ab8f12879dce8a8",
                     versionType: "git",
                  },
                  {
                     lessThan: "faa9bcf700ca1a0d09f92502a6b65d3ce313fb46",
                     status: "affected",
                     version: "6a8b357278f5f8b9817147277ab8f12879dce8a8",
                     versionType: "git",
                  },
                  {
                     lessThan: "bea1898f65b9b7096cb4e73e97c83b94718f1fa1",
                     status: "affected",
                     version: "6a8b357278f5f8b9817147277ab8f12879dce8a8",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "drivers/net/ethernet/intel/ice/ice_lag.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "5.15",
                  },
                  {
                     lessThan: "5.15",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.15.*",
                     status: "unaffected",
                     version: "5.15.24",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.16.*",
                     status: "unaffected",
                     version: "5.16.10",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "*",
                     status: "unaffected",
                     version: "5.17",
                     versionType: "original_commit_for_fix",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "In the Linux kernel, the following vulnerability has been resolved:\n\nice: Fix KASAN error in LAG NETDEV_UNREGISTER handler\n\nCurrently, the same handler is called for both a NETDEV_BONDING_INFO\nLAG unlink notification as for a NETDEV_UNREGISTER call.  This is\ncausing a problem though, since the netdev_notifier_info passed has\na different structure depending on which event is passed.  The problem\nmanifests as a call trace from a BUG: KASAN stack-out-of-bounds error.\n\nFix this by creating a handler specific to NETDEV_UNREGISTER that only\nis passed valid elements in the netdev_notifier_info struct for the\nNETDEV_UNREGISTER event.\n\nAlso included is the removal of an unbalanced dev_put on the peer_netdev\nand related braces.",
            },
         ],
         providerMetadata: {
            dateUpdated: "2024-12-19T08:08:06.689Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/f9daedc3ab8f673e3a9374b91a89fbf1174df469",
            },
            {
               url: "https://git.kernel.org/stable/c/faa9bcf700ca1a0d09f92502a6b65d3ce313fb46",
            },
            {
               url: "https://git.kernel.org/stable/c/bea1898f65b9b7096cb4e73e97c83b94718f1fa1",
            },
         ],
         title: "ice: Fix KASAN error in LAG NETDEV_UNREGISTER handler",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2022-48807",
      datePublished: "2024-07-16T11:43:58.406Z",
      dateReserved: "2024-07-16T11:38:08.896Z",
      dateUpdated: "2024-12-19T08:08:06.689Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2022-48807\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-07-16T12:15:05.050\",\"lastModified\":\"2024-11-21T07:34:07.577\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nice: Fix KASAN error in LAG NETDEV_UNREGISTER handler\\n\\nCurrently, the same handler is called for both a NETDEV_BONDING_INFO\\nLAG unlink notification as for a NETDEV_UNREGISTER call.  This is\\ncausing a problem though, since the netdev_notifier_info passed has\\na different structure depending on which event is passed.  The problem\\nmanifests as a call trace from a BUG: KASAN stack-out-of-bounds error.\\n\\nFix this by creating a handler specific to NETDEV_UNREGISTER that only\\nis passed valid elements in the netdev_notifier_info struct for the\\nNETDEV_UNREGISTER event.\\n\\nAlso included is the removal of an unbalanced dev_put on the peer_netdev\\nand related braces.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: ice: Solucionar error KASAN en el controlador LAG NETDEV_UNREGISTER Actualmente, se llama al mismo controlador tanto para una notificación de desvinculación de NETDEV_BONDING_INFO LAG como para una llamada NETDEV_UNREGISTER. Sin embargo, esto está causando un problema, ya que el netdev_notifier_info pasado tiene una estructura diferente según el evento que se pasa. El problema se manifiesta como un seguimiento de llamada de un ERROR: error de pila fuera de los límites de KASAN. Solucione este problema creando un controlador específico para NETDEV_UNREGISTER al que solo se le pasan elementos válidos en la estructura netdev_notifier_info para el evento NETDEV_UNREGISTER. También se incluye la eliminación de un dev_put desequilibrado en peer_netdev y llaves relacionadas.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/bea1898f65b9b7096cb4e73e97c83b94718f1fa1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f9daedc3ab8f673e3a9374b91a89fbf1174df469\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/faa9bcf700ca1a0d09f92502a6b65d3ce313fb46\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bea1898f65b9b7096cb4e73e97c83b94718f1fa1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/f9daedc3ab8f673e3a9374b91a89fbf1174df469\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/faa9bcf700ca1a0d09f92502a6b65d3ce313fb46\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
      vulnrichment: {
         containers: "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/f9daedc3ab8f673e3a9374b91a89fbf1174df469\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/faa9bcf700ca1a0d09f92502a6b65d3ce313fb46\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/bea1898f65b9b7096cb4e73e97c83b94718f1fa1\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-03T15:25:01.535Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-48807\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T16:58:44.489230Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:21.475Z\"}}], \"cna\": {\"title\": \"ice: Fix KASAN error in LAG NETDEV_UNREGISTER handler\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6a8b357278f5f8b9817147277ab8f12879dce8a8\", \"lessThan\": \"f9daedc3ab8f673e3a9374b91a89fbf1174df469\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6a8b357278f5f8b9817147277ab8f12879dce8a8\", \"lessThan\": \"faa9bcf700ca1a0d09f92502a6b65d3ce313fb46\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6a8b357278f5f8b9817147277ab8f12879dce8a8\", \"lessThan\": \"bea1898f65b9b7096cb4e73e97c83b94718f1fa1\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/net/ethernet/intel/ice/ice_lag.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.15\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.15\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.15.24\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.16.10\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.16.*\"}, {\"status\": \"unaffected\", \"version\": \"5.17\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/net/ethernet/intel/ice/ice_lag.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/f9daedc3ab8f673e3a9374b91a89fbf1174df469\"}, {\"url\": \"https://git.kernel.org/stable/c/faa9bcf700ca1a0d09f92502a6b65d3ce313fb46\"}, {\"url\": \"https://git.kernel.org/stable/c/bea1898f65b9b7096cb4e73e97c83b94718f1fa1\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nice: Fix KASAN error in LAG NETDEV_UNREGISTER handler\\n\\nCurrently, the same handler is called for both a NETDEV_BONDING_INFO\\nLAG unlink notification as for a NETDEV_UNREGISTER call.  This is\\ncausing a problem though, since the netdev_notifier_info passed has\\na different structure depending on which event is passed.  The problem\\nmanifests as a call trace from a BUG: KASAN stack-out-of-bounds error.\\n\\nFix this by creating a handler specific to NETDEV_UNREGISTER that only\\nis passed valid elements in the netdev_notifier_info struct for the\\nNETDEV_UNREGISTER event.\\n\\nAlso included is the removal of an unbalanced dev_put on the peer_netdev\\nand related braces.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T08:08:06.689Z\"}}}",
         cveMetadata: "{\"cveId\": \"CVE-2022-48807\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T08:08:06.689Z\", \"dateReserved\": \"2024-07-16T11:38:08.896Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-07-16T11:43:58.406Z\", \"assignerShortName\": \"Linux\"}",
         dataType: "CVE_RECORD",
         dataVersion: "5.1",
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.