Skip to content

Conversation

@pravalikagurram1
Copy link

Backport upstream fix to prevent use-after-scope bug where the loop
variable 'job' is referenced after the loop has exited. This can lead
to undefined behavior and potential crashes during VF (Virtual Function)
migration.

The issue occurs in the re-emission logic during VF migration where
the code attempts to access the loop iterator variable after the loop
completes. The fix saves the job from the last iteration of the loop
for use after the loop exits.

This backport resolves a potential stability issue in SR-IOV VF
migration scenarios.

Fixes: 29dbfa0 ("backport/sriov: Start re-emission from first unsignaled job during VF migration")

Signed-off-by: Pravalika Gurram pravalika.gurram@intel.com

Backport upstream fix to prevent use-after-scope bug where the loop
variable 'job' is referenced after the loop has exited. This can lead
to undefined behavior and potential crashes during VF (Virtual Function)
migration.

The issue occurs in the re-emission logic during VF migration where
the code attempts to access the loop iterator variable after the loop
completes. The fix saves the job from the last iteration of the loop
for use after the loop exits.

This backport resolves a potential stability issue in SR-IOV VF
migration scenarios.

Fixes: 29dbfa0 ("backport/sriov: Start re-emission from first unsignaled job during VF migration")

Signed-off-by: Pravalika Gurram <pravalika.gurram@intel.com>
@sys-i915-oscijenkins
Copy link

CI Bug Log - changes from xkb-200-94d58d19fb9f959e8d549e10c389008ec1b08169_BAT -> xkb-pr-main-245-428-40e732e45afa90787999ad82f637cd3df6205a81_BAT

Summary

FAILURE

Serious unknown changes coming with xkb-pr-main-245-428-40e732e45afa90787999ad82f637cd3df6205a81_BAT absolutely need to be
verified manually.

If you think the reported changes have nothing to do with the changes
introduced in xkb-pr-main-245-428-40e732e45afa90787999ad82f637cd3df6205a81_BAT, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
to document this new failure mode, which will reduce false positives in CI.

Participating hosts (7 -> 7)

No changes in participating hosts

Possible new issues

Here are the unknown changes that may have been introduced in xkb-pr-main-245-428-40e732e45afa90787999ad82f637cd3df6205a81_BAT:

IGT changes

Possible regressions

Known issues

Here are the changes found in xkb-pr-main-245-428-40e732e45afa90787999ad82f637cd3df6205a81_BAT that come from known issues:

IGT changes

Issues hit

Possible fixes

Build changes

  • Linux: xkb-200-94d58d19fb9f959e8d549e10c389008ec1b08169 -> xkb-pr-main-245-428-40e732e45afa90787999ad82f637cd3df6205a81

igt-xkb-94-165f8a8a8: 165f8a8a8
xkb-200-94d58d19fb9f959e8d549e10c389008ec1b08169: 94d58d1
xkb-pr-main-245-428-40e732e45afa90787999ad82f637cd3df6205a81: 40e732e

@sys-i915-oscijenkins
Copy link

CI Bug Log - changes from xkb-200-94d58d19fb9f959e8d549e10c389008ec1b08169_BAT -> xkb-pr-main-245-430-40e732e45afa90787999ad82f637cd3df6205a81_BAT

Summary

SUCCESS

No regressions found.

Participating hosts (7 -> 8)

Additional (1): bat-bmg-1

Known issues

Here are the changes found in xkb-pr-main-245-430-40e732e45afa90787999ad82f637cd3df6205a81_BAT that come from known issues:

IGT changes

Issues hit

Possible fixes

Build changes

  • Linux: xkb-200-94d58d19fb9f959e8d549e10c389008ec1b08169 -> xkb-pr-main-245-430-40e732e45afa90787999ad82f637cd3df6205a81

igt-xkb-94-165f8a8a8: 165f8a8a8
xkb-200-94d58d19fb9f959e8d549e10c389008ec1b08169: 94d58d1
xkb-pr-main-245-430-40e732e45afa90787999ad82f637cd3df6205a81: 40e732e

@pravalikagurram1 pravalikagurram1 merged commit b457e22 into intel-gpu:kernel-backport/main Jan 9, 2026
6 checks passed
@pravalikagurram1 pravalikagurram1 deleted the re-emission branch January 9, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants