Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-30459

XID_cache_element can be modified after deletion

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11
    • 11.1(EOL)
    • Replication
    • None

    Description

      523f9ae7442 from MDEV-30423 reveals the possibility for leaks in XID_cache_element which allows for modification after deletion.

      Suggested fix from Andrei is:

       xid_cache_delete may do extra marking at least for DBUG builds, that is in XID_cache_element::m_state and all its access  methods would assert that not_deleted status.
      

      Though we only want to apply this to the newest version release, "unofficial" testing with the patch should be done in previous versions just in case.

      Attachments

        Issue Links

          Activity

            People

              bnestere Brandon Nesterenko
              bnestere Brandon Nesterenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.