GHSA-3P2F-FJ9W-3JG5

Vulnerability from github – Published: 2025-12-09 18:30 – Updated: 2025-12-09 18:30
VLAI?
Details

In the Linux kernel, the following vulnerability has been resolved:

net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()

syzbot is reporting lockdep warning at rds_tcp_reset_callbacks() [1], for commit ac3615e7f3cffe2a ("RDS: TCP: Reduce code duplication in rds_tcp_reset_callbacks()") added cancel_delayed_work_sync() into a section protected by lock_sock() without realizing that rds_send_xmit() might call lock_sock().

We don't need to protect cancel_delayed_work_sync() using lock_sock(), for even if rds_{send,recv}worker() re-queued this work while __flush_work() from cancel_delayed_work_sync() was waiting for this work to complete, retried rds{send,recv}_worker() is no-op due to the absence of RDS_CONN_UP bit.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2022-50676"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-12-09T16:17:19Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: rds: don\u0027t hold sock lock when cancelling work from rds_tcp_reset_callbacks()\n\nsyzbot is reporting lockdep warning at rds_tcp_reset_callbacks() [1], for\ncommit ac3615e7f3cffe2a (\"RDS: TCP: Reduce code duplication in\nrds_tcp_reset_callbacks()\") added cancel_delayed_work_sync() into a section\nprotected by lock_sock() without realizing that rds_send_xmit() might call\nlock_sock().\n\nWe don\u0027t need to protect cancel_delayed_work_sync() using lock_sock(), for\neven if rds_{send,recv}_worker() re-queued this work while __flush_work()\n from cancel_delayed_work_sync() was waiting for this work to complete,\nretried rds_{send,recv}_worker() is no-op due to the absence of RDS_CONN_UP\nbit.",
  "id": "GHSA-3p2f-fj9w-3jg5",
  "modified": "2025-12-09T18:30:32Z",
  "published": "2025-12-09T18:30:32Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-50676"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2425007c0967a7c04b0dee7cce05ecf0ca869ad1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/30bfa5aa7228eb1e67663d67e553627e572cc717"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/360aa7219285fac63dab99706a16f2daf3222abe"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5d2ba255e93211e541373469dffbda7c99dfa0e5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a91b750fd6629354460282bbf5146c01b05c4859"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/afe7053c390fe8ff27d0c2ceaece5625283044ba"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c380c28ab9b15fc53565909c814f6dd3e7f77c4b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e3cb25d3ad08f5dbd53ce2b31720cad529944322"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…