Bug 15236 - smbd crashes if an FSCTL request is done on a stream handle.
Summary: smbd crashes if an FSCTL request is done on a stream handle.
Status: ASSIGNED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: 4.17.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jeremy Allison
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-10 22:40 UTC by Jeremy Allison
Modified: 2022-11-14 19:46 UTC (History)
1 user (show)

See Also:


Attachments
git-am fix for master. (7.04 KB, patch)
2022-11-10 22:54 UTC, Jeremy Allison
no flags Details
git-am fix for master. (7.09 KB, patch)
2022-11-11 00:17 UTC, Jeremy Allison
no flags Details
git-am fix for master. (7.37 KB, patch)
2022-11-11 19:06 UTC, Jeremy Allison
no flags Details
git-am fix for 4.17.next. (7.67 KB, patch)
2022-11-14 19:33 UTC, Jeremy Allison
jra: review? (awalker)
Details
git-am fix for 4.16.next. (7.67 KB, patch)
2022-11-14 19:46 UTC, Jeremy Allison
jra: review? (awalker)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Allison 2022-11-10 22:40:19 UTC
Have test and fix, need bugid.
Comment 1 Jeremy Allison 2022-11-10 22:54:54 UTC
Created attachment 17644 [details]
git-am fix for master.

This is what I'm planning to put in ci.
Comment 2 Jeremy Allison 2022-11-11 00:17:52 UTC
Created attachment 17645 [details]
git-am fix for master.

Make sure fsp != NULL before calling metadata_fsp() :-).
Comment 3 Jeremy Allison 2022-11-11 19:06:39 UTC
Created attachment 17646 [details]
git-am fix for master.

Third time's the charm for ci :-).
Comment 4 Samba QA Contact 2022-11-14 18:14:04 UTC
This bug was referenced in samba master:

abc4495e4591964bb4625c2669a1f84213faab77
fa4eba131b882c3858b28f5fd9864998e19a4510
Comment 5 Jeremy Allison 2022-11-14 19:33:21 UTC
Created attachment 17650 [details]
git-am fix for 4.17.next.

Cherry-picked from master.
Comment 6 Jeremy Allison 2022-11-14 19:46:53 UTC
Created attachment 17651 [details]
git-am fix for 4.16.next.

Back-ported from master.