Bug 10550 - SMB2 RECVFILE should not be allowed against IPC$ and PRINT shares.
Summary: SMB2 RECVFILE should not be allowed against IPC$ and PRINT shares.
Status: ASSIGNED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jeremy Allison
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-11 22:19 UTC by Jeremy Allison
Modified: 2015-03-28 06:27 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Allison 2014-04-11 22:19:03 UTC
Current code doesn't prevent RECVFILE partial reads from being done
against IPC$ and PRINT$ shares. These shares do not use the normal file write backend so data will be left incorrectly in the TCP buffer against open handles.

Back-port of Metze's master patch to follow.

Jeremy.