Skip to content

Upgrade iscsi-initiator-utils to version 2.1.12 for CVE-2026-44943, CVE-2026-44944 - #18322

Merged
jslobodzian merged 2 commits into
microsoft:fasttrack/3.0from
Kanishk-Bansal:topic_iscsi-initiator-utils-3.0
Aug 7, 2026
Merged

Upgrade iscsi-initiator-utils to version 2.1.12 for CVE-2026-44943, CVE-2026-44944#18322
jslobodzian merged 2 commits into
microsoft:fasttrack/3.0from
Kanishk-Bansal:topic_iscsi-initiator-utils-3.0

Conversation

@SumitJenaHCL

@SumitJenaHCL Sumit Jena (SumitJenaHCL) commented Aug 5, 2026

Copy link
Copy Markdown
Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

What does the PR accomplish, why was it needed?

This PR upgrades the iscsi-initiator-utils package from 2.1.9 to 2.1.12 to fix CVE-2026-44943 and CVE-2026-44944.

Source0 now points at the upstream release tag instead of a bare commit hash. The tag 2.1.12 resolves to commit 7e00642c40123e0b3f949e74c3945872c17a407e — the same commit Fedora 45 packages — and the tarball's git tree hash matches that commit exactly.

The downstream patch set was rebased onto 2.1.12. Patch content is byte-identical to Fedora 45 apart from the Azure Linux-only 0201-mariner-fixes.patch:

  • 0009-Coverity-scan-fixes.patch — upstream renamed the iscsiuio logging macros to ILOG_*, and already merged the two LOCK_DIR mkdir fixes, so those hunks were dropped.
  • 0103-fix-libiscsi-firmware-discovery-issue-with-NULL-drec.patch — the usr/idbm.c NULL-drec guard is now upstream, so that hunk was dropped.
  • 0101-libiscsi.patchlibiscsi/setup.py switched from distutils.core to setuptools (distutils was removed in Python 3.12).
  • 0003/0007 — rebased hunk offsets and context.
  • Removal of iface.example was dropped from %install; upstream's meson no longer installs it (Fedora 45 dropped this too).
Change Log
  • SPECS/iscsi-initiator-utils/iscsi-initiator-utils.spec — bump to 2.1.12-1, tag-based Source0, add %check, add %license, drop iface.example removal
  • SPECS/iscsi-initiator-utils/iscsi-initiator-utils.signatures.json — new source hash
  • SPECS/iscsi-initiator-utils/0003-Use-DBROOT-in-iscsi-starter.-Include-iscsi-starter-i.patch — rebased
  • SPECS/iscsi-initiator-utils/0007-Disable-Data-Digests.patch — rebased
  • SPECS/iscsi-initiator-utils/0009-Coverity-scan-fixes.patch — rebased, obsolete hunks dropped
  • SPECS/iscsi-initiator-utils/0010-use-Red-Hat-version-string-to-match-RPM-package-vers.patch — version string 6.2.1.12
  • SPECS/iscsi-initiator-utils/0101-libiscsi.patch — setuptools instead of distutils
  • SPECS/iscsi-initiator-utils/0103-fix-libiscsi-firmware-discovery-issue-with-NULL-drec.patch — obsolete hunk dropped
  • cgmanifest.json — iscsi-initiator-utils 2.1.9 -> 2.1.12
Does this affect the toolchain?

NO

Associated issues
  • #xxxx
Links to CVEs
Test Methodology

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging 3.0-dev PRs Destined for AzureLinux 3.0 labels Aug 5, 2026
…VE-2026-44944

Upgrade open-iscsi from 2.1.9 to 2.1.12. The tag 2.1.12 tarball resolves to
upstream commit 7e00642c40123e0b3f949e74c3945872c17a407e, which is the exact
commit Fedora 45 packages.

- Rebase downstream patches onto 2.1.12; drop hunks merged upstream
- Drop removal of 'iface.example', no longer installed by upstream meson
- Add '%check' running the upstream libopeniscsiusr test suite
- Add missing '%license' macro
- Update cgmanifest.json and signatures.json
@SumitJenaHCL
Sumit Jena (SumitJenaHCL) force-pushed the topic_iscsi-initiator-utils-3.0 branch from 4935045 to 497b67e Compare August 5, 2026 11:08
@SumitJenaHCL
Sumit Jena (SumitJenaHCL) changed the base branch from 3.0-dev to fasttrack/3.0 August 5, 2026 11:09
@microsoft-github-policy-service microsoft-github-policy-service Bot added Tools fasttrack/3.0 PRs Destined for Azure Linux 3.0 labels Aug 5, 2026
@SumitJenaHCL
Sumit Jena (SumitJenaHCL) marked this pull request as ready for review August 5, 2026 11:11
@SumitJenaHCL
Sumit Jena (SumitJenaHCL) requested a review from a team as a code owner August 5, 2026 11:11
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@SumitJenaHCL

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 18322 in repo microsoft/azurelinux

@SumitJenaHCL

Copy link
Copy Markdown
Author

Buddy Build has passed.

@Kanishk-Bansal

Copy link
Copy Markdown

/azurepipelines run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.

@akhila-guruju Akhila Guruju (akhila-guruju) Aug 6, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a runtime-breaking change in the spec file.

  1. %install still deletes the ExecStart target: rm $RPM_BUILD_ROOT/usr/sbin/iscsi-gen-initiatorname (and its man page).
  2. %install still deletes /etc/iscsi/initiatorname.iscsi, so the package ships no IQN file.
  3. %files still ships %{_unitdir}/iscsi-init.service, whose 2.1.12 ExecStart is /usr/sbin/iscsi-gen-initiatorname. No applied patch neutralizes it. None of the patches rewrites the iscsi-init.service ExecStart.

Resulting runtime failure: on a fresh boot with no initiatorname.iscsi, ConditionPathExists=!/etc/iscsi/initiatorname.iscsi is true → systemd runs ExecStart=/usr/sbin/iscsi-gen-initiatorname → file missing → status=203/EXEC → no InitiatorName generated → iscsid/logins fail.

PR: open-iscsi/open-iscsi#532
commit: open-iscsi/open-iscsi@f71c5cf

Please refer Fedora spec file for reference.

nit: 0024-minor-service-file-updates.patch is still present in the directory but isn't referenced in the spec. It was dropped from the spec during the 2.1.9 upgrade but never removed from the directory in #7250. Please delete the stale file.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Akhila Guruju (@akhila-guruju). I’ve added iscsi-gen-initiatorname and its man page in the latest commit for now, since the upstream iscsi-init.service points to that helper. Looking more closely, though, the helper does more than generate a name: it first tries to use rd.initiatorname or an iBFT-provided name, and only falls back to iscsi-iname. AZL3 previously always generated a new name with iscsi-iname when the initiator name file was missing. Adopting the upstream helper could therefore may change existing customer expectations. I think we should patch the service to keep using iscsi-iname and continue excluding the new helper and its man page.

@SumitJenaHCL

Copy link
Copy Markdown
Author

@SumitJenaHCL

Copy link
Copy Markdown
Author

@Kanishk-Bansal

Copy link
Copy Markdown

/azurepipelines run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.

@azurelinux-ci-jwt-app

Copy link
Copy Markdown

Auto cherry-pick results:

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1177653&view=results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 CVE-fixed-by-upgrade CVE fixed by package upgrade fasttrack/3.0 PRs Destined for Azure Linux 3.0 Packaging security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants