CVE-2023-53463 (GCVE-0-2023-53463)
Vulnerability from cvelistv5
Published
2025-10-01 11:42
Modified
2025-10-01 11:42
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: ibmvnic: Do not reset dql stats on NON_FATAL err All ibmvnic resets, make a call to netdev_tx_reset_queue() when re-opening the device. netdev_tx_reset_queue() resets the num_queued and num_completed byte counters. These stats are used in Byte Queue Limit (BQL) algorithms. The difference between these two stats tracks the number of bytes currently sitting on the physical NIC. ibmvnic increases the number of queued bytes though calls to netdev_tx_sent_queue() in the drivers xmit function. When, VIOS reports that it is done transmitting bytes, the ibmvnic device increases the number of completed bytes through calls to netdev_tx_completed_queue(). It is important to note that the driver batches its transmit calls and num_queued is increased every time that an skb is added to the next batch, not necessarily when the batch is sent to VIOS for transmission. Unlike other reset types, a NON FATAL reset will not flush the sub crq tx buffers. Therefore, it is possible for the batched skb array to be partially full. So if there is call to netdev_tx_reset_queue() when re-opening the device, the value of num_queued (0) would not account for the skb's that are currently batched. Eventually, when the batch is sent to VIOS, the call to netdev_tx_completed_queue() would increase num_completed to a value greater than the num_queued. This causes a BUG_ON crash: ibmvnic 30000002: Firmware reports error, cause: adapter problem. Starting recovery... ibmvnic 30000002: tx error 600 ibmvnic 30000002: tx error 600 ibmvnic 30000002: tx error 600 ibmvnic 30000002: tx error 600 ------------[ cut here ]------------ kernel BUG at lib/dynamic_queue_limits.c:27! Oops: Exception in kernel mode, sig: 5 [....] NIP dql_completed+0x28/0x1c0 LR ibmvnic_complete_tx.isra.0+0x23c/0x420 [ibmvnic] Call Trace: ibmvnic_complete_tx.isra.0+0x3f8/0x420 [ibmvnic] (unreliable) ibmvnic_interrupt_tx+0x40/0x70 [ibmvnic] __handle_irq_event_percpu+0x98/0x270 ---[ end trace ]--- Therefore, do not reset the dql stats when performing a NON_FATAL reset.
Impacted products
Vendor Product Version
Linux Linux Version: 0d973388185d49add56b81ca82fa5e4348019df8
Version: 0d973388185d49add56b81ca82fa5e4348019df8
Version: 0d973388185d49add56b81ca82fa5e4348019df8
Version: 0d973388185d49add56b81ca82fa5e4348019df8
Create a notification for this product.
   Linux Linux Version: 5.11
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/ibm/ibmvnic.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b8aedf29db1280c83191fc9579ae605791faf97f",
              "status": "affected",
              "version": "0d973388185d49add56b81ca82fa5e4348019df8",
              "versionType": "git"
            },
            {
              "lessThan": "f67ef8f9f6776e2b2073cad7c5cf29de850f83d7",
              "status": "affected",
              "version": "0d973388185d49add56b81ca82fa5e4348019df8",
              "versionType": "git"
            },
            {
              "lessThan": "91a0632e73070928aafeb36b3cc676843c716931",
              "status": "affected",
              "version": "0d973388185d49add56b81ca82fa5e4348019df8",
              "versionType": "git"
            },
            {
              "lessThan": "48538ccb825b05544ec308a509e2cc9c013402db",
              "status": "affected",
              "version": "0d973388185d49add56b81ca82fa5e4348019df8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/ibm/ibmvnic.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.11"
            },
            {
              "lessThan": "5.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.121",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.39",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.5",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.121",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.39",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.4",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5",
                  "versionStartIncluding": "5.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nibmvnic: Do not reset dql stats on NON_FATAL err\n\nAll ibmvnic resets, make a call to netdev_tx_reset_queue() when\nre-opening the device. netdev_tx_reset_queue() resets the num_queued\nand num_completed byte counters. These stats are used in Byte Queue\nLimit (BQL) algorithms. The difference between these two stats tracks\nthe number of bytes currently sitting on the physical NIC. ibmvnic\nincreases the number of queued bytes though calls to\nnetdev_tx_sent_queue() in the drivers xmit function. When, VIOS reports\nthat it is done transmitting bytes, the ibmvnic device increases the\nnumber of completed bytes through calls to netdev_tx_completed_queue().\nIt is important to note that the driver batches its transmit calls and\nnum_queued is increased every time that an skb is added to the next\nbatch, not necessarily when the batch is sent to VIOS for transmission.\n\nUnlike other reset types, a NON FATAL reset will not flush the sub crq\ntx buffers. Therefore, it is possible for the batched skb array to be\npartially full. So if there is call to netdev_tx_reset_queue() when\nre-opening the device, the value of num_queued (0) would not account\nfor the skb\u0027s that are currently batched. Eventually, when the batch\nis sent to VIOS, the call to netdev_tx_completed_queue() would increase\nnum_completed to a value greater than the num_queued. This causes a\nBUG_ON crash:\n\nibmvnic 30000002: Firmware reports error, cause: adapter problem.\nStarting recovery...\nibmvnic 30000002: tx error 600\nibmvnic 30000002: tx error 600\nibmvnic 30000002: tx error 600\nibmvnic 30000002: tx error 600\n------------[ cut here ]------------\nkernel BUG at lib/dynamic_queue_limits.c:27!\nOops: Exception in kernel mode, sig: 5\n[....]\nNIP dql_completed+0x28/0x1c0\nLR ibmvnic_complete_tx.isra.0+0x23c/0x420 [ibmvnic]\nCall Trace:\nibmvnic_complete_tx.isra.0+0x3f8/0x420 [ibmvnic] (unreliable)\nibmvnic_interrupt_tx+0x40/0x70 [ibmvnic]\n__handle_irq_event_percpu+0x98/0x270\n---[ end trace ]---\n\nTherefore, do not reset the dql stats when performing a NON_FATAL reset."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-10-01T11:42:34.308Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b8aedf29db1280c83191fc9579ae605791faf97f"
        },
        {
          "url": "https://git.kernel.org/stable/c/f67ef8f9f6776e2b2073cad7c5cf29de850f83d7"
        },
        {
          "url": "https://git.kernel.org/stable/c/91a0632e73070928aafeb36b3cc676843c716931"
        },
        {
          "url": "https://git.kernel.org/stable/c/48538ccb825b05544ec308a509e2cc9c013402db"
        }
      ],
      "title": "ibmvnic: Do not reset dql stats on NON_FATAL err",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53463",
    "datePublished": "2025-10-01T11:42:34.308Z",
    "dateReserved": "2025-10-01T11:39:39.400Z",
    "dateUpdated": "2025-10-01T11:42:34.308Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53463\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-01T12:15:48.120\",\"lastModified\":\"2025-10-02T19:12:17.160\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nibmvnic: Do not reset dql stats on NON_FATAL err\\n\\nAll ibmvnic resets, make a call to netdev_tx_reset_queue() when\\nre-opening the device. netdev_tx_reset_queue() resets the num_queued\\nand num_completed byte counters. These stats are used in Byte Queue\\nLimit (BQL) algorithms. The difference between these two stats tracks\\nthe number of bytes currently sitting on the physical NIC. ibmvnic\\nincreases the number of queued bytes though calls to\\nnetdev_tx_sent_queue() in the drivers xmit function. When, VIOS reports\\nthat it is done transmitting bytes, the ibmvnic device increases the\\nnumber of completed bytes through calls to netdev_tx_completed_queue().\\nIt is important to note that the driver batches its transmit calls and\\nnum_queued is increased every time that an skb is added to the next\\nbatch, not necessarily when the batch is sent to VIOS for transmission.\\n\\nUnlike other reset types, a NON FATAL reset will not flush the sub crq\\ntx buffers. Therefore, it is possible for the batched skb array to be\\npartially full. So if there is call to netdev_tx_reset_queue() when\\nre-opening the device, the value of num_queued (0) would not account\\nfor the skb\u0027s that are currently batched. Eventually, when the batch\\nis sent to VIOS, the call to netdev_tx_completed_queue() would increase\\nnum_completed to a value greater than the num_queued. This causes a\\nBUG_ON crash:\\n\\nibmvnic 30000002: Firmware reports error, cause: adapter problem.\\nStarting recovery...\\nibmvnic 30000002: tx error 600\\nibmvnic 30000002: tx error 600\\nibmvnic 30000002: tx error 600\\nibmvnic 30000002: tx error 600\\n------------[ cut here ]------------\\nkernel BUG at lib/dynamic_queue_limits.c:27!\\nOops: Exception in kernel mode, sig: 5\\n[....]\\nNIP dql_completed+0x28/0x1c0\\nLR ibmvnic_complete_tx.isra.0+0x23c/0x420 [ibmvnic]\\nCall Trace:\\nibmvnic_complete_tx.isra.0+0x3f8/0x420 [ibmvnic] (unreliable)\\nibmvnic_interrupt_tx+0x40/0x70 [ibmvnic]\\n__handle_irq_event_percpu+0x98/0x270\\n---[ end trace ]---\\n\\nTherefore, do not reset the dql stats when performing a NON_FATAL reset.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/48538ccb825b05544ec308a509e2cc9c013402db\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/91a0632e73070928aafeb36b3cc676843c716931\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b8aedf29db1280c83191fc9579ae605791faf97f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f67ef8f9f6776e2b2073cad7c5cf29de850f83d7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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.


Loading…