PC Review


Reply
Thread Tools Rate Thread

Deadlock problem with filter driver when used with Anti virus softwares

 
 
kedar
Guest
Posts: n/a
 
      3rd Aug 2005


We have a filter driver which gets deadlocked with AV software's like
Symantec. The sequence of steps that cause dead lock are given below:





1.. CREATE (IRP_MJ_CREATE) request of the other application reaches AV
driver. (note that Our filter driver does not block CREATE requests)
2.. AV driver blocks the other applications CRATE request and initiates
file scan. The AV scan is happening in the context of other application
process context.
3.. AV drivers READ (IRP_MJ_READ) request reaches our filter driver (by
this time the AV CREATE request is success which has been passed through our
filter driver as our filter driver is not blocking create request)
4.. Our filter driver will block the READ request of AV driver and informs
our user mode application about the file being accessed.
5.. Now our user mode application tries to read the file as part of that
it generates CREATE request (IRP_MJ_CREATE) (which will pass through our
filter driver as this request is from our application) and this request is
seen by the AV AV driver and as the scan on that file is not finished, (AV
drivers READ request is blocked by our filter driver for validating the
file) AV is holding this request, which leads to dead lock.


Could any one guide me in finding solution to this.



Help is highly appreciated.



Thanks,

Kedar.




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
free anti virus,anti spam, anti spyware softwares softwareengineer2006@gmail.com Windows XP General 2 8th Apr 2006 02:39 PM
free anti virus,anti spam, anti spyware softwares softwareengineer2006@gmail.com Windows XP New Users 1 8th Apr 2006 04:54 AM
free anti virus,anti spam, anti spyware softwares softwareengineer2006@gmail.com Windows XP Help 1 8th Apr 2006 12:09 AM
free anti virus,anti spam, anti spyware softwares softwareengineer2006@gmail.com Freeware 0 7th Apr 2006 12:01 PM
free anti virus,anti spam, anti spyware softwares softwareengineer2006@gmail.com Anti-Virus 0 7th Apr 2006 11:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:33 PM.