Skip to content

[ciqlts9_2] net: ipv6: clear suppressed fib6 rule result - #1564

Open
ciq-kernel-automation[bot] wants to merge 1 commit into
ciqlts9_2from
{shreeya_fix}_ciqlts9_2
Open

[ciqlts9_2] net: ipv6: clear suppressed fib6 rule result#1564
ciq-kernel-automation[bot] wants to merge 1 commit into
ciqlts9_2from
{shreeya_fix}_ciqlts9_2

Conversation

@ciq-kernel-automation

Copy link
Copy Markdown

Summary

This PR has been automatically created after successful completion of all CI stages.

Commit Message(s)

net: ipv6: clear suppressed fib6 rule result

jira VULN-204224
cve CVE-2026-74581
commit-author Zhiling Zou <zhilinz@nebusec.ai>
commit 6aea62e433fe1b586202a5fee8b5807ce635e1d7

Test Results

✅ Build Stage

Architecture Build Time Total Time
x86_64 24m 34s 25m 20s
aarch64 12m 59s 13m 33s

✅ Boot Verification

✅ Kernel Selftests

Architecture Passed Failed Compared Against Status
x86_64 171 27 ciqlts9_2 ⚠️ No baseline available
aarch64 139 29 ciqlts9_2 ⚠️ No baseline available

✅ LTP Results

Architecture Passed Failed Compared Against Status
x86_64 1439 81 ciqlts9_2 ⚠️ No baseline available
aarch64 1409 83 ciqlts9_2 ⚠️ No baseline available

🤖 This PR was automatically generated by GitHub Actions
Run ID: 33378078244

jira VULN-204224
cve CVE-2026-74581
commit-author Zhiling Zou <zhilinz@nebusec.ai>
commit 6aea62e

fib6_rule_suppress() drops a suppressed route with ip6_rt_put_flags(),
but leaves res->rt6 pointing at the released rt6_info.

If no later rule supplies a replacement, fib6_rule_lookup() still sees
res.rt6 and returns that stale dst to its caller. A suppressing rule can
therefore leak a released route back to rt6_lookup(), and the next put
hits rcuref_put_slowpath() from dst_release().

Clear res->rt6 when suppressing the route so suppressed lookups fall
through to the null dst instead of reusing the released one.

Fixes: cdef485 ("ipv6: fix memory leak in fib6_rule_suppress")
	Cc: stable@vger.kernel.org
	Reported-by: Vega <vega@nebusec.ai>
	Signed-off-by: Zhiling Zou <zhilinz@nebusec.ai>
	Signed-off-by: Ren Wei <enjou1224z@gmail.com>
	Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/4b8acb7787d54e440155585dd32ebdf0bef7d122.1784710966.git.zhilinz@nebusec.ai
	Signed-off-by: Jakub Kicinski <kuba@kernel.org>
(cherry picked from commit 6aea62e)
	Signed-off-by: Shreeya Patel <spatel@ciq.com>
@ciq-kernel-automation ciq-kernel-automation Bot added the created-by-kernelci Tag PRs that were automatically created when a user branch was pushed to the repo (kernelCI) label Aug 31, 2026
@github-actions

Copy link
Copy Markdown

🤖 Validation Checks In Progress Workflow run: https://github.com/ctrliq/kernel-src-tree/actions/runs/33399813449

@github-actions

Copy link
Copy Markdown

JIRA PR Check Results

1 commit(s) with issues found:

Commit f9a1982e8f43

Summary: net: ipv6: clear suppressed fib6 rule result

❌ Errors:

  • VULN-204224: Status is 'To Do', expected 'In Progress'

⚠️ Warnings:

  • VULN-204224: No time logged - please log time manually

Summary: Checked 1 commit(s) total.

@github-actions

Copy link
Copy Markdown

Validation checks completed with issues View full results: https://github.com/ctrliq/kernel-src-tree/actions/runs/33399813449

@PlaidCat
PlaidCat requested a review from a team August 31, 2026 15:47

@PlaidCat PlaidCat left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

:shipit:

@PlaidCat
PlaidCat requested a review from a team August 31, 2026 15:52

@bmastbergen bmastbergen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🥌

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

Labels

created-by-kernelci Tag PRs that were automatically created when a user branch was pushed to the repo (kernelCI)

Development

Successfully merging this pull request may close these issues.

3 participants