cve-2023-52887
Vulnerability from cvelistv5
Published
2024-07-29 15:52
Modified
2024-11-04 14:54
Severity ?
Summary
net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/0bc0a7416ea73f79f915c9a05ac0858dff65cfed
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/1762ca80c2b72dd1b5821c5e347713ae696276ea
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/177e33b655d35d72866b50aec84307119dc5f3d4
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/26b18dd30e63d4fd777be429148e8e4ed66f60b2
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/ed581989d7ea9df6f8646beba2341e32cd49a1f9
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f6c839e717901dbd6b1c1ca807b6210222eb70f6
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/0bc0a7416ea73f79f915c9a05ac0858dff65cfed
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/1762ca80c2b72dd1b5821c5e347713ae696276ea
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/177e33b655d35d72866b50aec84307119dc5f3d4
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/26b18dd30e63d4fd777be429148e8e4ed66f60b2
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/ed581989d7ea9df6f8646beba2341e32cd49a1f9
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/f6c839e717901dbd6b1c1ca807b6210222eb70f6
Impacted products
Vendor Product Version
Linux Linux Version: 5.4
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T23:18:41.317Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/ed581989d7ea9df6f8646beba2341e32cd49a1f9"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/f6c839e717901dbd6b1c1ca807b6210222eb70f6"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/1762ca80c2b72dd1b5821c5e347713ae696276ea"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/26b18dd30e63d4fd777be429148e8e4ed66f60b2"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/177e33b655d35d72866b50aec84307119dc5f3d4"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/0bc0a7416ea73f79f915c9a05ac0858dff65cfed"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-52887",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T16:20:12.491125Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:33:08.617Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/can/j1939/transport.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ed581989d7ea",
              "status": "affected",
              "version": "9d71dd0c7009",
              "versionType": "git"
            },
            {
              "lessThan": "f6c839e71790",
              "status": "affected",
              "version": "9d71dd0c7009",
              "versionType": "git"
            },
            {
              "lessThan": "1762ca80c2b7",
              "status": "affected",
              "version": "9d71dd0c7009",
              "versionType": "git"
            },
            {
              "lessThan": "26b18dd30e63",
              "status": "affected",
              "version": "9d71dd0c7009",
              "versionType": "git"
            },
            {
              "lessThan": "177e33b655d3",
              "status": "affected",
              "version": "9d71dd0c7009",
              "versionType": "git"
            },
            {
              "lessThan": "0bc0a7416ea7",
              "status": "affected",
              "version": "9d71dd0c7009",
              "versionType": "git"
            },
            {
              "lessThan": "d3e2904f71ea",
              "status": "affected",
              "version": "9d71dd0c7009",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/can/j1939/transport.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.4"
            },
            {
              "lessThan": "5.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.279",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.162",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.37",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.9.*",
              "status": "unaffected",
              "version": "6.9.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.10",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new\n\nThis patch enhances error handling in scenarios with RTS (Request to\nSend) messages arriving closely. It replaces the less informative WARN_ON_ONCE\nbacktraces with a new error handling method. This provides clearer error\nmessages and allows for the early termination of problematic sessions.\nPreviously, sessions were only released at the end of j1939_xtp_rx_rts().\n\nPotentially this could be reproduced with something like:\ntestj1939 -r vcan0:0x80 \u0026\nwhile true; do\n\t# send first RTS\n\tcansend vcan0 18EC8090#1014000303002301;\n\t# send second RTS\n\tcansend vcan0 18EC8090#1014000303002301;\n\t# send abort\n\tcansend vcan0 18EC8090#ff00000000002301;\ndone"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-11-04T14:54:37.447Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ed581989d7ea9df6f8646beba2341e32cd49a1f9"
        },
        {
          "url": "https://git.kernel.org/stable/c/f6c839e717901dbd6b1c1ca807b6210222eb70f6"
        },
        {
          "url": "https://git.kernel.org/stable/c/1762ca80c2b72dd1b5821c5e347713ae696276ea"
        },
        {
          "url": "https://git.kernel.org/stable/c/26b18dd30e63d4fd777be429148e8e4ed66f60b2"
        },
        {
          "url": "https://git.kernel.org/stable/c/177e33b655d35d72866b50aec84307119dc5f3d4"
        },
        {
          "url": "https://git.kernel.org/stable/c/0bc0a7416ea73f79f915c9a05ac0858dff65cfed"
        },
        {
          "url": "https://git.kernel.org/stable/c/d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb"
        }
      ],
      "title": "net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new",
      "x_generator": {
        "engine": "bippy-9e1c9544281a"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-52887",
    "datePublished": "2024-07-29T15:52:27.615Z",
    "dateReserved": "2024-05-21T15:35:00.782Z",
    "dateUpdated": "2024-11-04T14:54:37.447Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-52887\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-07-29T16:15:03.150\",\"lastModified\":\"2024-11-21T08:40:48.320\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new\\n\\nThis patch enhances error handling in scenarios with RTS (Request to\\nSend) messages arriving closely. It replaces the less informative WARN_ON_ONCE\\nbacktraces with a new error handling method. This provides clearer error\\nmessages and allows for the early termination of problematic sessions.\\nPreviously, sessions were only released at the end of j1939_xtp_rx_rts().\\n\\nPotentially this could be reproduced with something like:\\ntestj1939 -r vcan0:0x80 \u0026\\nwhile true; do\\n\\t# send first RTS\\n\\tcansend vcan0 18EC8090#1014000303002301;\\n\\t# send second RTS\\n\\tcansend vcan0 18EC8090#1014000303002301;\\n\\t# send abort\\n\\tcansend vcan0 18EC8090#ff00000000002301;\\ndone\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: can: j1939: manejo de errores mejorado para mensajes RTS recibidos estrechamente en xtp_rx_rts_session_new Este parche mejora el manejo de errores en escenarios con mensajes RTS (Solicitud de env\u00edo) que llegan cerca. Reemplaza los rastreos WARN_ON_ONCE menos informativos con un nuevo m\u00e9todo de manejo de errores. Esto proporciona mensajes de error m\u00e1s claros y permite la finalizaci\u00f3n anticipada de sesiones problem\u00e1ticas. Anteriormente, las sesiones s\u00f3lo se publicaban al final de j1939_xtp_rx_rts(). Potencialmente, esto podr\u00eda reproducirse con algo como: testj1939 -r vcan0:0x80 \u0026amp; while true; hacer # enviar primero RTS cansend vcan0 18EC8090#1014000303002301; # enviar segundo RTS cansend vcan0 18EC8090#1014000303002301; # enviar cancelar cansend vcan0 18EC8090#ff00000000002301; hecho\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0bc0a7416ea73f79f915c9a05ac0858dff65cfed\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1762ca80c2b72dd1b5821c5e347713ae696276ea\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/177e33b655d35d72866b50aec84307119dc5f3d4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/26b18dd30e63d4fd777be429148e8e4ed66f60b2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ed581989d7ea9df6f8646beba2341e32cd49a1f9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f6c839e717901dbd6b1c1ca807b6210222eb70f6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0bc0a7416ea73f79f915c9a05ac0858dff65cfed\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/1762ca80c2b72dd1b5821c5e347713ae696276ea\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/177e33b655d35d72866b50aec84307119dc5f3d4\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/26b18dd30e63d4fd777be429148e8e4ed66f60b2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/d3e2904f71ea0fe7eaff1d68a2b0363c888ea0fb\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/ed581989d7ea9df6f8646beba2341e32cd49a1f9\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/f6c839e717901dbd6b1c1ca807b6210222eb70f6\",\"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.