CVE-2022-50727 (GCVE-0-2022-50727)

Vulnerability from cvelistv5 – Published: 2025-12-24 12:22 – Updated: 2025-12-24 12:22
VLAI?
Title
scsi: efct: Fix possible memleak in efct_device_init()
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: efct: Fix possible memleak in efct_device_init() In efct_device_init(), when efct_scsi_reg_fc_transport() fails, efct_scsi_tgt_driver_exit() is not called to release memory for efct_scsi_tgt_driver_init() and causes memleak: unreferenced object 0xffff8881020ce000 (size 2048): comm "modprobe", pid 465, jiffies 4294928222 (age 55.872s) backtrace: [<0000000021a1ef1b>] kmalloc_trace+0x27/0x110 [<000000004c3ed51c>] target_register_template+0x4fd/0x7b0 [target_core_mod] [<00000000f3393296>] efct_scsi_tgt_driver_init+0x18/0x50 [efct] [<00000000115de533>] 0xffffffffc0d90011 [<00000000d608f646>] do_one_initcall+0xd0/0x4e0 [<0000000067828cf1>] do_init_module+0x1cc/0x6a0 ...
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 4df84e8466242de835416a4ec0c856c0e2ed26eb , < 038359eeccffaf0de4c1c9c51ee19cc5649619a1 (git)
Affected: 4df84e8466242de835416a4ec0c856c0e2ed26eb , < 0c6e6bb30229b1297ac0fd7ede2941d2322fc736 (git)
Affected: 4df84e8466242de835416a4ec0c856c0e2ed26eb , < c7e96168a8ca3be96c4959475164bef31115f07e (git)
Affected: 4df84e8466242de835416a4ec0c856c0e2ed26eb , < bb0cd225dd37df1f4a22e36dad59ff33178ecdfc (git)
Create a notification for this product.
    Linux Linux Affected: 5.14
Unaffected: 0 , < 5.14 (semver)
Unaffected: 5.15.86 , ≤ 5.15.* (semver)
Unaffected: 6.0.16 , ≤ 6.0.* (semver)
Unaffected: 6.1.2 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/elx/efct/efct_driver.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "038359eeccffaf0de4c1c9c51ee19cc5649619a1",
              "status": "affected",
              "version": "4df84e8466242de835416a4ec0c856c0e2ed26eb",
              "versionType": "git"
            },
            {
              "lessThan": "0c6e6bb30229b1297ac0fd7ede2941d2322fc736",
              "status": "affected",
              "version": "4df84e8466242de835416a4ec0c856c0e2ed26eb",
              "versionType": "git"
            },
            {
              "lessThan": "c7e96168a8ca3be96c4959475164bef31115f07e",
              "status": "affected",
              "version": "4df84e8466242de835416a4ec0c856c0e2ed26eb",
              "versionType": "git"
            },
            {
              "lessThan": "bb0cd225dd37df1f4a22e36dad59ff33178ecdfc",
              "status": "affected",
              "version": "4df84e8466242de835416a4ec0c856c0e2ed26eb",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/elx/efct/efct_driver.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.14"
            },
            {
              "lessThan": "5.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: efct: Fix possible memleak in efct_device_init()\n\nIn efct_device_init(), when efct_scsi_reg_fc_transport() fails,\nefct_scsi_tgt_driver_exit() is not called to release memory for\nefct_scsi_tgt_driver_init() and causes memleak:\n\nunreferenced object 0xffff8881020ce000 (size 2048):\n  comm \"modprobe\", pid 465, jiffies 4294928222 (age 55.872s)\n  backtrace:\n    [\u003c0000000021a1ef1b\u003e] kmalloc_trace+0x27/0x110\n    [\u003c000000004c3ed51c\u003e] target_register_template+0x4fd/0x7b0 [target_core_mod]\n    [\u003c00000000f3393296\u003e] efct_scsi_tgt_driver_init+0x18/0x50 [efct]\n    [\u003c00000000115de533\u003e] 0xffffffffc0d90011\n    [\u003c00000000d608f646\u003e] do_one_initcall+0xd0/0x4e0\n    [\u003c0000000067828cf1\u003e] do_init_module+0x1cc/0x6a0\n    ..."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-24T12:22:48.315Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/038359eeccffaf0de4c1c9c51ee19cc5649619a1"
        },
        {
          "url": "https://git.kernel.org/stable/c/0c6e6bb30229b1297ac0fd7ede2941d2322fc736"
        },
        {
          "url": "https://git.kernel.org/stable/c/c7e96168a8ca3be96c4959475164bef31115f07e"
        },
        {
          "url": "https://git.kernel.org/stable/c/bb0cd225dd37df1f4a22e36dad59ff33178ecdfc"
        }
      ],
      "title": "scsi: efct: Fix possible memleak in efct_device_init()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50727",
    "datePublished": "2025-12-24T12:22:48.315Z",
    "dateReserved": "2025-12-24T12:20:40.330Z",
    "dateUpdated": "2025-12-24T12:22:48.315Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50727\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-24T13:15:59.363\",\"lastModified\":\"2025-12-24T13:15:59.363\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nscsi: efct: Fix possible memleak in efct_device_init()\\n\\nIn efct_device_init(), when efct_scsi_reg_fc_transport() fails,\\nefct_scsi_tgt_driver_exit() is not called to release memory for\\nefct_scsi_tgt_driver_init() and causes memleak:\\n\\nunreferenced object 0xffff8881020ce000 (size 2048):\\n  comm \\\"modprobe\\\", pid 465, jiffies 4294928222 (age 55.872s)\\n  backtrace:\\n    [\u003c0000000021a1ef1b\u003e] kmalloc_trace+0x27/0x110\\n    [\u003c000000004c3ed51c\u003e] target_register_template+0x4fd/0x7b0 [target_core_mod]\\n    [\u003c00000000f3393296\u003e] efct_scsi_tgt_driver_init+0x18/0x50 [efct]\\n    [\u003c00000000115de533\u003e] 0xffffffffc0d90011\\n    [\u003c00000000d608f646\u003e] do_one_initcall+0xd0/0x4e0\\n    [\u003c0000000067828cf1\u003e] do_init_module+0x1cc/0x6a0\\n    ...\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/038359eeccffaf0de4c1c9c51ee19cc5649619a1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0c6e6bb30229b1297ac0fd7ede2941d2322fc736\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bb0cd225dd37df1f4a22e36dad59ff33178ecdfc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c7e96168a8ca3be96c4959475164bef31115f07e\",\"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 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…