CVE-2022-49344 (GCVE-0-2022-49344)
Vulnerability from cvelistv5
Published
2025-02-26 02:11
Modified
2025-05-04 12:44
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: af_unix: Fix a data-race in unix_dgram_peer_wake_me(). unix_dgram_poll() calls unix_dgram_peer_wake_me() without `other`'s lock held and check if its receive queue is full. Here we need to use unix_recvq_full_lockless() instead of unix_recvq_full(), otherwise KCSAN will report a data-race.
Impacted products
Vendor Product Version
Linux Linux Version: 7d267278a9ece963d77eefec61630223fce08c6c
Version: 7d267278a9ece963d77eefec61630223fce08c6c
Version: 7d267278a9ece963d77eefec61630223fce08c6c
Version: 7d267278a9ece963d77eefec61630223fce08c6c
Version: 7d267278a9ece963d77eefec61630223fce08c6c
Version: 7d267278a9ece963d77eefec61630223fce08c6c
Version: 7d267278a9ece963d77eefec61630223fce08c6c
Version: 60bc010667ef06e0fb08d5ec599c0977adc2ac72
Version: a3b0f6e8a21ef02f69a15abac440572d8cde8c2a
Version: ec54d5ae9d298abf01c273233de9f2bc25d80475
Version: da8db0830a2ce63f628150307a01a315f5081202
Version: 9964b4c4ee925b2910723e509abd7241cff1ef84
Version: 9d054f57adc981a5f503d5eb9b259aa450b90dc5
Version: 72032798034d921ed565e3bf8dfdc3098f6473e2
Version: 5c77e26862ce604edea05b3442ed765e9756fe0f
Version: bad967fdd8ecbdd171f5f243657be033d2d081a7
Version: 58a6a46a036ce81a2a8ecaa6fc1537c894349e3f
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/unix/af_unix.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "95f0ba806277733bf6024e23e27e1be773701cca",
              "status": "affected",
              "version": "7d267278a9ece963d77eefec61630223fce08c6c",
              "versionType": "git"
            },
            {
              "lessThan": "556720013c36c193d9cbfb06e7b33e51f0c39fbf",
              "status": "affected",
              "version": "7d267278a9ece963d77eefec61630223fce08c6c",
              "versionType": "git"
            },
            {
              "lessThan": "c61848500a3fd6867dfa4834b8c7f97133eceb9f",
              "status": "affected",
              "version": "7d267278a9ece963d77eefec61630223fce08c6c",
              "versionType": "git"
            },
            {
              "lessThan": "c926ae58f24f7bd55aa2ea4add9f952032507913",
              "status": "affected",
              "version": "7d267278a9ece963d77eefec61630223fce08c6c",
              "versionType": "git"
            },
            {
              "lessThan": "71e8bfc7f838cabc60cba24e09ca84c4f8321ab2",
              "status": "affected",
              "version": "7d267278a9ece963d77eefec61630223fce08c6c",
              "versionType": "git"
            },
            {
              "lessThan": "8801eb3ccd2e4e3b1a01449383e3321ae6dbd9d6",
              "status": "affected",
              "version": "7d267278a9ece963d77eefec61630223fce08c6c",
              "versionType": "git"
            },
            {
              "lessThan": "662a80946ce13633ae90a55379f1346c10f0c432",
              "status": "affected",
              "version": "7d267278a9ece963d77eefec61630223fce08c6c",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "60bc010667ef06e0fb08d5ec599c0977adc2ac72",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a3b0f6e8a21ef02f69a15abac440572d8cde8c2a",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "ec54d5ae9d298abf01c273233de9f2bc25d80475",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "da8db0830a2ce63f628150307a01a315f5081202",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "9964b4c4ee925b2910723e509abd7241cff1ef84",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "9d054f57adc981a5f503d5eb9b259aa450b90dc5",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "72032798034d921ed565e3bf8dfdc3098f6473e2",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "5c77e26862ce604edea05b3442ed765e9756fe0f",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "bad967fdd8ecbdd171f5f243657be033d2d081a7",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "58a6a46a036ce81a2a8ecaa6fc1537c894349e3f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/unix/af_unix.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.4"
            },
            {
              "lessThan": "4.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.247",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.198",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.122",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.47",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.15",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.247",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.198",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.122",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.47",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.15",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.4",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "2.6.32.70",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.2.75",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.4.111",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.10.95",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.12.52",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.14.59",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.18.26",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.1.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.2.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.3.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\naf_unix: Fix a data-race in unix_dgram_peer_wake_me().\n\nunix_dgram_poll() calls unix_dgram_peer_wake_me() without `other`\u0027s\nlock held and check if its receive queue is full.  Here we need to\nuse unix_recvq_full_lockless() instead of unix_recvq_full(), otherwise\nKCSAN will report a data-race."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T12:44:29.570Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/95f0ba806277733bf6024e23e27e1be773701cca"
        },
        {
          "url": "https://git.kernel.org/stable/c/556720013c36c193d9cbfb06e7b33e51f0c39fbf"
        },
        {
          "url": "https://git.kernel.org/stable/c/c61848500a3fd6867dfa4834b8c7f97133eceb9f"
        },
        {
          "url": "https://git.kernel.org/stable/c/c926ae58f24f7bd55aa2ea4add9f952032507913"
        },
        {
          "url": "https://git.kernel.org/stable/c/71e8bfc7f838cabc60cba24e09ca84c4f8321ab2"
        },
        {
          "url": "https://git.kernel.org/stable/c/8801eb3ccd2e4e3b1a01449383e3321ae6dbd9d6"
        },
        {
          "url": "https://git.kernel.org/stable/c/662a80946ce13633ae90a55379f1346c10f0c432"
        }
      ],
      "title": "af_unix: Fix a data-race in unix_dgram_peer_wake_me().",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49344",
    "datePublished": "2025-02-26T02:11:00.498Z",
    "dateReserved": "2025-02-26T02:08:31.542Z",
    "dateUpdated": "2025-05-04T12:44:29.570Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-49344\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-02-26T07:01:11.140\",\"lastModified\":\"2025-03-13T22:07:39.830\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\naf_unix: Fix a data-race in unix_dgram_peer_wake_me().\\n\\nunix_dgram_poll() calls unix_dgram_peer_wake_me() without `other`\u0027s\\nlock held and check if its receive queue is full.  Here we need to\\nuse unix_recvq_full_lockless() instead of unix_recvq_full(), otherwise\\nKCSAN will report a data-race.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: af_unix: Se solucion\u00f3 una ejecuci\u00f3n de datos en unix_dgram_peer_wake_me(). unix_dgram_poll() llama a unix_dgram_peer_wake_me() sin el bloqueo de `other` y verifica si su cola de recepci\u00f3n est\u00e1 llena. Aqu\u00ed necesitamos usar unix_recvq_full_lockless() en lugar de unix_recvq_full(), de lo contrario KCSAN informar\u00e1 una ejecuci\u00f3n de datos.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":4.7,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.0,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-362\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.2.75\",\"versionEndExcluding\":\"3.3\",\"matchCriteriaId\":\"5638A0E8-3156-4172-8646-A06234434789\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.4.111\",\"versionEndExcluding\":\"3.5\",\"matchCriteriaId\":\"E52E1F3C-10B4-4F40-8A2A-9594BC2B215D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.10.95\",\"versionEndExcluding\":\"3.11\",\"matchCriteriaId\":\"EC5478BC-B6FF-4B04-987C-ADAEAE43CBA8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.12.52\",\"versionEndExcluding\":\"3.13\",\"matchCriteriaId\":\"06C65A71-8C38-4C15-8A5D-CFA8D65BFCA0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.14.59\",\"versionEndExcluding\":\"3.15\",\"matchCriteriaId\":\"1A2F1110-C965-4944-9689-F1761C69A6D1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.18.26\",\"versionEndExcluding\":\"3.19\",\"matchCriteriaId\":\"830AF0C0-9263-4CB8-A52B-833DA911C43B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.1.15\",\"versionEndExcluding\":\"4.2\",\"matchCriteriaId\":\"30BD25FB-1AEB-4577-9EA8-05D01771198D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.2.8\",\"versionEndExcluding\":\"4.3\",\"matchCriteriaId\":\"ECDD7212-EFE8-403A-B34A-CE83B1E7139D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.3.3\",\"versionEndExcluding\":\"4.19.247\",\"matchCriteriaId\":\"AEFFC18C-45D7-41A2-B7D9-545D81B3F8D8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.20\",\"versionEndExcluding\":\"5.4.198\",\"matchCriteriaId\":\"3EC49633-14DE-4EBD-BB80-76AE2E3EABB9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.122\",\"matchCriteriaId\":\"1B42AA01-44D8-4572-95E6-FF8E374CF9C5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.47\",\"matchCriteriaId\":\"FC042EE3-4864-4325-BE0B-4BCDBF11AA61\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"5.17.15\",\"matchCriteriaId\":\"53E7AA2E-2FB4-45CA-A22B-08B4EDBB51AD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.18\",\"versionEndExcluding\":\"5.18.4\",\"matchCriteriaId\":\"FA6D643C-6D6A-4821-8A8D-B5776B8F0103\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.19:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"A8C30C2D-F82D-4D37-AB48-D76ABFBD5377\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/556720013c36c193d9cbfb06e7b33e51f0c39fbf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/662a80946ce13633ae90a55379f1346c10f0c432\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/71e8bfc7f838cabc60cba24e09ca84c4f8321ab2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8801eb3ccd2e4e3b1a01449383e3321ae6dbd9d6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/95f0ba806277733bf6024e23e27e1be773701cca\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/c61848500a3fd6867dfa4834b8c7f97133eceb9f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/c926ae58f24f7bd55aa2ea4add9f952032507913\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}"
  }
}


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…

Loading…