gsd-2021-47153
Vulnerability from gsd
Modified
2024-03-05 06:03
Details
In the Linux kernel, the following vulnerability has been resolved: i2c: i801: Don't generate an interrupt on bus reset Now that the i2c-i801 driver supports interrupts, setting the KILL bit in a attempt to recover from a timed out transaction triggers an interrupt. Unfortunately, the interrupt handler (i801_isr) is not prepared for this situation and will try to process the interrupt as if it was signaling the end of a successful transaction. In the case of a block transaction, this can result in an out-of-range memory access. This condition was reproduced several times by syzbot: https://syzkaller.appspot.com/bug?extid=ed71512d469895b5b34e https://syzkaller.appspot.com/bug?extid=8c8dedc0ba9e03f6c79e https://syzkaller.appspot.com/bug?extid=c8ff0b6d6c73d81b610e https://syzkaller.appspot.com/bug?extid=33f6c360821c399d69eb https://syzkaller.appspot.com/bug?extid=be15dc0b1933f04b043a https://syzkaller.appspot.com/bug?extid=b4d3fd1dfd53e90afd79 So disable interrupts while trying to reset the bus. Interrupts will be enabled again for the following transaction.
Aliases



{
   gsd: {
      metadata: {
         exploitCode: "unknown",
         remediation: "unknown",
         reportConfidence: "confirmed",
         type: "vulnerability",
      },
      osvSchema: {
         aliases: [
            "CVE-2021-47153",
         ],
         details: "In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: i801: Don't generate an interrupt on bus reset\n\nNow that the i2c-i801 driver supports interrupts, setting the KILL bit\nin a attempt to recover from a timed out transaction triggers an\ninterrupt. Unfortunately, the interrupt handler (i801_isr) is not\nprepared for this situation and will try to process the interrupt as\nif it was signaling the end of a successful transaction. In the case\nof a block transaction, this can result in an out-of-range memory\naccess.\n\nThis condition was reproduced several times by syzbot:\nhttps://syzkaller.appspot.com/bug?extid=ed71512d469895b5b34e\nhttps://syzkaller.appspot.com/bug?extid=8c8dedc0ba9e03f6c79e\nhttps://syzkaller.appspot.com/bug?extid=c8ff0b6d6c73d81b610e\nhttps://syzkaller.appspot.com/bug?extid=33f6c360821c399d69eb\nhttps://syzkaller.appspot.com/bug?extid=be15dc0b1933f04b043a\nhttps://syzkaller.appspot.com/bug?extid=b4d3fd1dfd53e90afd79\n\nSo disable interrupts while trying to reset the bus. Interrupts will\nbe enabled again for the following transaction.",
         id: "GSD-2021-47153",
         modified: "2024-03-05T06:03:55.159189Z",
         schema_version: "1.4.0",
      },
   },
   namespaces: {
      "cve.org": {
         CVE_data_meta: {
            ASSIGNER: "cve@kernel.org",
            ID: "CVE-2021-47153",
            STATE: "PUBLIC",
         },
         affects: {
            vendor: {
               vendor_data: [
                  {
                     product: {
                        product_data: [
                           {
                              product_name: "Linux",
                              version: {
                                 version_data: [
                                    {
                                       version_affected: "<",
                                       version_name: "636752bcb517",
                                       version_value: "f9469082126c",
                                    },
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                          versions: [
                                             {
                                                status: "affected",
                                                version: "3.6",
                                             },
                                             {
                                                lessThan: "3.6",
                                                status: "unaffected",
                                                version: "0",
                                                versionType: "custom",
                                             },
                                             {
                                                lessThanOrEqual: "4.4.*",
                                                status: "unaffected",
                                                version: "4.4.271",
                                                versionType: "custom",
                                             },
                                             {
                                                lessThanOrEqual: "4.9.*",
                                                status: "unaffected",
                                                version: "4.9.271",
                                                versionType: "custom",
                                             },
                                             {
                                                lessThanOrEqual: "4.14.*",
                                                status: "unaffected",
                                                version: "4.14.235",
                                                versionType: "custom",
                                             },
                                             {
                                                lessThanOrEqual: "4.19.*",
                                                status: "unaffected",
                                                version: "4.19.193",
                                                versionType: "custom",
                                             },
                                             {
                                                lessThanOrEqual: "5.4.*",
                                                status: "unaffected",
                                                version: "5.4.124",
                                                versionType: "custom",
                                             },
                                             {
                                                lessThanOrEqual: "5.10.*",
                                                status: "unaffected",
                                                version: "5.10.42",
                                                versionType: "custom",
                                             },
                                             {
                                                lessThanOrEqual: "5.12.*",
                                                status: "unaffected",
                                                version: "5.12.9",
                                                versionType: "custom",
                                             },
                                             {
                                                lessThanOrEqual: "*",
                                                status: "unaffected",
                                                version: "5.13",
                                                versionType: "original_commit_for_fix",
                                             },
                                          ],
                                       },
                                    },
                                 ],
                              },
                           },
                        ],
                     },
                     vendor_name: "Linux",
                  },
               ],
            },
         },
         data_format: "MITRE",
         data_type: "CVE",
         data_version: "4.0",
         description: {
            description_data: [
               {
                  lang: "eng",
                  value: "In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: i801: Don't generate an interrupt on bus reset\n\nNow that the i2c-i801 driver supports interrupts, setting the KILL bit\nin a attempt to recover from a timed out transaction triggers an\ninterrupt. Unfortunately, the interrupt handler (i801_isr) is not\nprepared for this situation and will try to process the interrupt as\nif it was signaling the end of a successful transaction. In the case\nof a block transaction, this can result in an out-of-range memory\naccess.\n\nThis condition was reproduced several times by syzbot:\nhttps://syzkaller.appspot.com/bug?extid=ed71512d469895b5b34e\nhttps://syzkaller.appspot.com/bug?extid=8c8dedc0ba9e03f6c79e\nhttps://syzkaller.appspot.com/bug?extid=c8ff0b6d6c73d81b610e\nhttps://syzkaller.appspot.com/bug?extid=33f6c360821c399d69eb\nhttps://syzkaller.appspot.com/bug?extid=be15dc0b1933f04b043a\nhttps://syzkaller.appspot.com/bug?extid=b4d3fd1dfd53e90afd79\n\nSo disable interrupts while trying to reset the bus. Interrupts will\nbe enabled again for the following transaction.",
               },
            ],
         },
         generator: {
            engine: "bippy-b4257b672505",
         },
         problemtype: {
            problemtype_data: [
               {
                  description: [
                     {
                        lang: "eng",
                        value: "n/a",
                     },
                  ],
               },
            ],
         },
         references: {
            reference_data: [
               {
                  name: "https://git.kernel.org/stable/c/f9469082126cebb7337db3992d143f5e4edfe629",
                  refsource: "MISC",
                  url: "https://git.kernel.org/stable/c/f9469082126cebb7337db3992d143f5e4edfe629",
               },
               {
                  name: "https://git.kernel.org/stable/c/09c9e79f4c10cfb6b9e0e1b4dd355232e4b5a3b3",
                  refsource: "MISC",
                  url: "https://git.kernel.org/stable/c/09c9e79f4c10cfb6b9e0e1b4dd355232e4b5a3b3",
               },
               {
                  name: "https://git.kernel.org/stable/c/dfa8929e117b0228a7765f5c3f5988a4a028f3c6",
                  refsource: "MISC",
                  url: "https://git.kernel.org/stable/c/dfa8929e117b0228a7765f5c3f5988a4a028f3c6",
               },
               {
                  name: "https://git.kernel.org/stable/c/c70e1ba2e7e65255a0ce004f531dd90dada97a8c",
                  refsource: "MISC",
                  url: "https://git.kernel.org/stable/c/c70e1ba2e7e65255a0ce004f531dd90dada97a8c",
               },
               {
                  name: "https://git.kernel.org/stable/c/04cc05e3716ae31b17ecdab7bc55c8170def1b8b",
                  refsource: "MISC",
                  url: "https://git.kernel.org/stable/c/04cc05e3716ae31b17ecdab7bc55c8170def1b8b",
               },
               {
                  name: "https://git.kernel.org/stable/c/b523feb7e8e44652f92f3babb953a976e7ccbbef",
                  refsource: "MISC",
                  url: "https://git.kernel.org/stable/c/b523feb7e8e44652f92f3babb953a976e7ccbbef",
               },
               {
                  name: "https://git.kernel.org/stable/c/1f583d3813f204449037cd2acbfc09168171362a",
                  refsource: "MISC",
                  url: "https://git.kernel.org/stable/c/1f583d3813f204449037cd2acbfc09168171362a",
               },
               {
                  name: "https://git.kernel.org/stable/c/e4d8716c3dcec47f1557024add24e1f3c09eb24b",
                  refsource: "MISC",
                  url: "https://git.kernel.org/stable/c/e4d8716c3dcec47f1557024add24e1f3c09eb24b",
               },
            ],
         },
      },
      "nvd.nist.gov": {
         cve: {
            descriptions: [
               {
                  lang: "en",
                  value: "In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: i801: Don't generate an interrupt on bus reset\n\nNow that the i2c-i801 driver supports interrupts, setting the KILL bit\nin a attempt to recover from a timed out transaction triggers an\ninterrupt. Unfortunately, the interrupt handler (i801_isr) is not\nprepared for this situation and will try to process the interrupt as\nif it was signaling the end of a successful transaction. In the case\nof a block transaction, this can result in an out-of-range memory\naccess.\n\nThis condition was reproduced several times by syzbot:\nhttps://syzkaller.appspot.com/bug?extid=ed71512d469895b5b34e\nhttps://syzkaller.appspot.com/bug?extid=8c8dedc0ba9e03f6c79e\nhttps://syzkaller.appspot.com/bug?extid=c8ff0b6d6c73d81b610e\nhttps://syzkaller.appspot.com/bug?extid=33f6c360821c399d69eb\nhttps://syzkaller.appspot.com/bug?extid=be15dc0b1933f04b043a\nhttps://syzkaller.appspot.com/bug?extid=b4d3fd1dfd53e90afd79\n\nSo disable interrupts while trying to reset the bus. Interrupts will\nbe enabled again for the following transaction.",
               },
               {
                  lang: "es",
                  value: "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: i2c: i801: no genera una interrupción al restablecer el bus Ahora que el controlador i2c-i801 admite interrupciones, configurar el bit KILL en un intento de recuperarse de una transacción con tiempo de espera agotado se activa una interrupción. Desafortunadamente, el controlador de interrupciones (i801_isr) no está preparado para esta situación e intentará procesar la interrupción como si estuviera indicando el final de una transacción exitosa. En el caso de una transacción en bloque, esto puede resultar en un acceso a la memoria fuera de rango. Esta condición fue reproducida varias veces por syzbot: https://syzkaller.appspot.com/bug?extid=ed71512d469895b5b34e https://syzkaller.appspot.com/bug?extid=8c8dedc0ba9e03f6c79e https://syzkaller.appspot.com/bug ?extid=c8ff0b6d6c73d81b610e https://syzkaller.appspot.com/bug?extid=33f6c360821c399d69eb https://syzkaller.appspot.com/bug?extid=be15dc0b1933f04b043a https://syzkaller.appspot.com/bug?extid=b 4d3fd1dfd53e90afd79 Entonces deshabilite las interrupciones al intentar restablecer el bus. Las interrupciones se habilitarán nuevamente para la siguiente transacción.",
               },
            ],
            id: "CVE-2021-47153",
            lastModified: "2024-03-25T13:47:14.087",
            metrics: {},
            published: "2024-03-25T09:15:09.407",
            references: [
               {
                  source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                  url: "https://git.kernel.org/stable/c/04cc05e3716ae31b17ecdab7bc55c8170def1b8b",
               },
               {
                  source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                  url: "https://git.kernel.org/stable/c/09c9e79f4c10cfb6b9e0e1b4dd355232e4b5a3b3",
               },
               {
                  source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                  url: "https://git.kernel.org/stable/c/1f583d3813f204449037cd2acbfc09168171362a",
               },
               {
                  source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                  url: "https://git.kernel.org/stable/c/b523feb7e8e44652f92f3babb953a976e7ccbbef",
               },
               {
                  source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                  url: "https://git.kernel.org/stable/c/c70e1ba2e7e65255a0ce004f531dd90dada97a8c",
               },
               {
                  source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                  url: "https://git.kernel.org/stable/c/dfa8929e117b0228a7765f5c3f5988a4a028f3c6",
               },
               {
                  source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                  url: "https://git.kernel.org/stable/c/e4d8716c3dcec47f1557024add24e1f3c09eb24b",
               },
               {
                  source: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                  url: "https://git.kernel.org/stable/c/f9469082126cebb7337db3992d143f5e4edfe629",
               },
            ],
            sourceIdentifier: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            vulnStatus: "Awaiting Analysis",
         },
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.