CVE-2025-39722 (GCVE-0-2025-39722)
Vulnerability from cvelistv5
Published
2025-09-05 17:21
Modified
2025-09-29 05:58
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: crypto: caam - Prevent crash on suspend with iMX8QM / iMX8ULP Since the CAAM on these SoCs is managed by another ARM core, called the SECO (Security Controller) on iMX8QM and Secure Enclave on iMX8ULP, which also reserves access to register page 0 suspend operations cannot touch this page. This is similar to when running OPTEE, where OPTEE will reserve page 0. Track this situation using a new state variable no_page0, reflecting if page 0 is reserved elsewhere, either by other management cores in SoC or by OPTEE. Replace the optee_en check in suspend/resume with the new check. optee_en cannot go away as it's needed elsewhere to gate OPTEE specific situations. Fixes the following splat at suspend: Internal error: synchronous external abort: 0000000096000010 [#1] SMP Hardware name: Freescale i.MX8QXP ACU6C (DT) pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : readl+0x0/0x18 lr : rd_reg32+0x18/0x3c sp : ffffffc08192ba20 x29: ffffffc08192ba20 x28: ffffff8025190000 x27: 0000000000000000 x26: ffffffc0808ae808 x25: ffffffc080922338 x24: ffffff8020e89090 x23: 0000000000000000 x22: ffffffc080922000 x21: ffffff8020e89010 x20: ffffffc080387ef8 x19: ffffff8020e89010 x18: 000000005d8000d5 x17: 0000000030f35963 x16: 000000008f785f3f x15: 000000003b8ef57c x14: 00000000c418aef8 x13: 00000000f5fea526 x12: 0000000000000001 x11: 0000000000000002 x10: 0000000000000001 x9 : 0000000000000000 x8 : ffffff8025190870 x7 : ffffff8021726880 x6 : 0000000000000002 x5 : ffffff80217268f0 x4 : ffffff8021726880 x3 : ffffffc081200000 x2 : 0000000000000001 x1 : ffffff8020e89010 x0 : ffffffc081200004 Call trace: readl+0x0/0x18 caam_ctrl_suspend+0x30/0xdc dpm_run_callback.constprop.0+0x24/0x5c device_suspend+0x170/0x2e8 dpm_suspend+0xa0/0x104 dpm_suspend_start+0x48/0x50 suspend_devices_and_enter+0x7c/0x45c pm_suspend+0x148/0x160 state_store+0xb4/0xf8 kobj_attr_store+0x14/0x24 sysfs_kf_write+0x38/0x48 kernfs_fop_write_iter+0xb4/0x178 vfs_write+0x118/0x178 ksys_write+0x6c/0xd0 __arm64_sys_write+0x14/0x1c invoke_syscall.constprop.0+0x64/0xb0 do_el0_svc+0x90/0xb0 el0_svc+0x18/0x44 el0t_64_sync_handler+0x88/0x124 el0t_64_sync+0x150/0x154 Code: 88dffc21 88dffc21 5ac00800 d65f03c0 (b9400000)
Impacted products
Vendor Product Version
Linux Linux Version: d2835701d93cae6d597672ef9dc3fa889867031a
Version: d2835701d93cae6d597672ef9dc3fa889867031a
Version: d2835701d93cae6d597672ef9dc3fa889867031a
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/crypto/caam/ctrl.c",
            "drivers/crypto/caam/intern.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f9534674ce53f133c91c272f091f0242932574ae",
              "status": "affected",
              "version": "d2835701d93cae6d597672ef9dc3fa889867031a",
              "versionType": "git"
            },
            {
              "lessThan": "488ed465e579a20485f38080e4ef8b90b69ef7c0",
              "status": "affected",
              "version": "d2835701d93cae6d597672ef9dc3fa889867031a",
              "versionType": "git"
            },
            {
              "lessThan": "5ffc47feddcf8eb4d8ac7b42111a02c8e8146512",
              "status": "affected",
              "version": "d2835701d93cae6d597672ef9dc3fa889867031a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/crypto/caam/ctrl.c",
            "drivers/crypto/caam/intern.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.10"
            },
            {
              "lessThan": "6.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.44",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.16.*",
              "status": "unaffected",
              "version": "6.16.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.17",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.44",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.16.4",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.17",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: caam - Prevent crash on suspend with iMX8QM / iMX8ULP\n\nSince the CAAM on these SoCs is managed by another ARM core, called the\nSECO (Security Controller) on iMX8QM and Secure Enclave on iMX8ULP, which\nalso reserves access to register page 0 suspend operations cannot touch\nthis page.\n\nThis is similar to when running OPTEE, where OPTEE will reserve page 0.\n\nTrack this situation using a new state variable no_page0, reflecting if\npage 0 is reserved elsewhere, either by other management cores in SoC or\nby OPTEE.\n\nReplace the optee_en check in suspend/resume with the new check.\n\noptee_en cannot go away as it\u0027s needed elsewhere to gate OPTEE specific\nsituations.\n\nFixes the following splat at suspend:\n\n    Internal error: synchronous external abort: 0000000096000010 [#1] SMP\n    Hardware name: Freescale i.MX8QXP ACU6C (DT)\n    pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)\n    pc : readl+0x0/0x18\n    lr : rd_reg32+0x18/0x3c\n    sp : ffffffc08192ba20\n    x29: ffffffc08192ba20 x28: ffffff8025190000 x27: 0000000000000000\n    x26: ffffffc0808ae808 x25: ffffffc080922338 x24: ffffff8020e89090\n    x23: 0000000000000000 x22: ffffffc080922000 x21: ffffff8020e89010\n    x20: ffffffc080387ef8 x19: ffffff8020e89010 x18: 000000005d8000d5\n    x17: 0000000030f35963 x16: 000000008f785f3f x15: 000000003b8ef57c\n    x14: 00000000c418aef8 x13: 00000000f5fea526 x12: 0000000000000001\n    x11: 0000000000000002 x10: 0000000000000001 x9 : 0000000000000000\n    x8 : ffffff8025190870 x7 : ffffff8021726880 x6 : 0000000000000002\n    x5 : ffffff80217268f0 x4 : ffffff8021726880 x3 : ffffffc081200000\n    x2 : 0000000000000001 x1 : ffffff8020e89010 x0 : ffffffc081200004\n    Call trace:\n     readl+0x0/0x18\n     caam_ctrl_suspend+0x30/0xdc\n     dpm_run_callback.constprop.0+0x24/0x5c\n     device_suspend+0x170/0x2e8\n     dpm_suspend+0xa0/0x104\n     dpm_suspend_start+0x48/0x50\n     suspend_devices_and_enter+0x7c/0x45c\n     pm_suspend+0x148/0x160\n     state_store+0xb4/0xf8\n     kobj_attr_store+0x14/0x24\n     sysfs_kf_write+0x38/0x48\n     kernfs_fop_write_iter+0xb4/0x178\n     vfs_write+0x118/0x178\n     ksys_write+0x6c/0xd0\n     __arm64_sys_write+0x14/0x1c\n     invoke_syscall.constprop.0+0x64/0xb0\n     do_el0_svc+0x90/0xb0\n     el0_svc+0x18/0x44\n     el0t_64_sync_handler+0x88/0x124\n     el0t_64_sync+0x150/0x154\n    Code: 88dffc21 88dffc21 5ac00800 d65f03c0 (b9400000)"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-29T05:58:09.333Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f9534674ce53f133c91c272f091f0242932574ae"
        },
        {
          "url": "https://git.kernel.org/stable/c/488ed465e579a20485f38080e4ef8b90b69ef7c0"
        },
        {
          "url": "https://git.kernel.org/stable/c/5ffc47feddcf8eb4d8ac7b42111a02c8e8146512"
        }
      ],
      "title": "crypto: caam - Prevent crash on suspend with iMX8QM / iMX8ULP",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-39722",
    "datePublished": "2025-09-05T17:21:29.924Z",
    "dateReserved": "2025-04-16T07:20:57.117Z",
    "dateUpdated": "2025-09-29T05:58:09.333Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-39722\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-05T18:15:49.910\",\"lastModified\":\"2025-09-08T16:25:38.810\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ncrypto: caam - Prevent crash on suspend with iMX8QM / iMX8ULP\\n\\nSince the CAAM on these SoCs is managed by another ARM core, called the\\nSECO (Security Controller) on iMX8QM and Secure Enclave on iMX8ULP, which\\nalso reserves access to register page 0 suspend operations cannot touch\\nthis page.\\n\\nThis is similar to when running OPTEE, where OPTEE will reserve page 0.\\n\\nTrack this situation using a new state variable no_page0, reflecting if\\npage 0 is reserved elsewhere, either by other management cores in SoC or\\nby OPTEE.\\n\\nReplace the optee_en check in suspend/resume with the new check.\\n\\noptee_en cannot go away as it\u0027s needed elsewhere to gate OPTEE specific\\nsituations.\\n\\nFixes the following splat at suspend:\\n\\n    Internal error: synchronous external abort: 0000000096000010 [#1] SMP\\n    Hardware name: Freescale i.MX8QXP ACU6C (DT)\\n    pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)\\n    pc : readl+0x0/0x18\\n    lr : rd_reg32+0x18/0x3c\\n    sp : ffffffc08192ba20\\n    x29: ffffffc08192ba20 x28: ffffff8025190000 x27: 0000000000000000\\n    x26: ffffffc0808ae808 x25: ffffffc080922338 x24: ffffff8020e89090\\n    x23: 0000000000000000 x22: ffffffc080922000 x21: ffffff8020e89010\\n    x20: ffffffc080387ef8 x19: ffffff8020e89010 x18: 000000005d8000d5\\n    x17: 0000000030f35963 x16: 000000008f785f3f x15: 000000003b8ef57c\\n    x14: 00000000c418aef8 x13: 00000000f5fea526 x12: 0000000000000001\\n    x11: 0000000000000002 x10: 0000000000000001 x9 : 0000000000000000\\n    x8 : ffffff8025190870 x7 : ffffff8021726880 x6 : 0000000000000002\\n    x5 : ffffff80217268f0 x4 : ffffff8021726880 x3 : ffffffc081200000\\n    x2 : 0000000000000001 x1 : ffffff8020e89010 x0 : ffffffc081200004\\n    Call trace:\\n     readl+0x0/0x18\\n     caam_ctrl_suspend+0x30/0xdc\\n     dpm_run_callback.constprop.0+0x24/0x5c\\n     device_suspend+0x170/0x2e8\\n     dpm_suspend+0xa0/0x104\\n     dpm_suspend_start+0x48/0x50\\n     suspend_devices_and_enter+0x7c/0x45c\\n     pm_suspend+0x148/0x160\\n     state_store+0xb4/0xf8\\n     kobj_attr_store+0x14/0x24\\n     sysfs_kf_write+0x38/0x48\\n     kernfs_fop_write_iter+0xb4/0x178\\n     vfs_write+0x118/0x178\\n     ksys_write+0x6c/0xd0\\n     __arm64_sys_write+0x14/0x1c\\n     invoke_syscall.constprop.0+0x64/0xb0\\n     do_el0_svc+0x90/0xb0\\n     el0_svc+0x18/0x44\\n     el0t_64_sync_handler+0x88/0x124\\n     el0t_64_sync+0x150/0x154\\n    Code: 88dffc21 88dffc21 5ac00800 d65f03c0 (b9400000)\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/488ed465e579a20485f38080e4ef8b90b69ef7c0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5ffc47feddcf8eb4d8ac7b42111a02c8e8146512\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f9534674ce53f133c91c272f091f0242932574ae\",\"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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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…