KMDF 1.5 fails DC2 test

I’m trying to run DC2 against my KMDF driver, and I get KMDF verifier
breakpoints. The log shows:

594285: FxRequest::CompleteInternal - Caller of this WDFREQUEST 7CD210B0,
Irp 0x82822F68 is passing an OuputBuffer address even though the
OutputBufferLength is zero

Yes, it was an absolutely aneurism inducing exercise to get the above text.

Why is KMDF complaining about the arguments provided by the user mode
caller?

Is there anything I can do besides turning off KMDF verifier to run DC2
against my driver?

I am using WDK 5600 for my builds, and DC2 from 5600, and running on Server
2003 SP1.

  • Dan.

This is a known malware attack vector with existing exploits. But the framework check is overly stringent [no harm is done if you set IoStatus.Information to 0].

The breakpoint is scheduled to be fixed in a future version of the framework (rather, it will only break if you indicate non-zero bytes returned). The message will remain.

For now, yes you will need to turn off WDF Verifier when running this test.

By future version do you mean that it will be in the release version
of 1.5 or that it will be sometime after 1.5 is released?

Beverly

On 10/19/06, Bob Kjelgaard wrote:
> This is a known malware attack vector with existing exploits. But the framework check is overly stringent [no harm is done if you set IoStatus.Information to 0].
>
> The breakpoint is scheduled to be fixed in a future version of the framework (rather, it will only break if you indicate non-zero bytes returned). The message will remain.
>
> For now, yes you will need to turn off WDF Verifier when running this test.
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>

I’m pretty sure 1.5 has already been released- in the Vista RC1 WDK. This was done so it could be used in logo’d drivers for Vista RTM release.

AFAIK, the post-Vista release schedule isn’t ironed out [myself I don’t expect it to be ready until after Vista is complete]. So I can’t tell you anything more definite.

>
By future version do you mean that it will be in the release version
of 1.5 or that it will be sometime after 1.5 is released?

Beverly<<

I assumed that since the WDK was for Vista RC1 that it was still in
beta and that it would be released when Vista goes to RTM.

If it has been released, then where can it be downloaded other than
beiong part of the Vista beta? If it’s part of the Vista beta, then
how is it released?

Beverly

On 10/19/06, Bob Kjelgaard wrote:
> I’m pretty sure 1.5 has already been released- in the Vista RC1 WDK. This was done so it could be used in logo’d drivers for Vista RTM release.
>
> AFAIK, the post-Vista release schedule isn’t ironed out [myself I don’t expect it to be ready until after Vista is complete]. So I can’t tell you anything more definite.
>
> >>
> By future version do you mean that it will be in the release version
> of 1.5 or that it will be sometime after 1.5 is released?
>
> Beverly<<
>
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>

I see what you mean. I relayed what I felt was accurate, but obviously it wasn’t. That leaves me with some issues to clear up here, but that’s of course, my problem…

The answer to your original question is that it will not be in 1.5.

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Beverly Brown
Sent: Thursday, October 19, 2006 10:17 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] KMDF 1.5 fails DC2 test

I assumed that since the WDK was for Vista RC1 that it was still in
beta and that it would be released when Vista goes to RTM.

If it has been released, then where can it be downloaded other than
beiong part of the Vista beta? If it’s part of the Vista beta, then
how is it released?

Beverly

On 10/19/06, Bob Kjelgaard wrote:
> I’m pretty sure 1.5 has already been released- in the Vista RC1 WDK. This was done so it could be used in logo’d drivers for Vista RTM release.
>
> AFAIK, the post-Vista release schedule isn’t ironed out [myself I don’t expect it to be ready until after Vista is complete]. So I can’t tell you anything more definite.
>
> >>
> By future version do you mean that it will be in the release version
> of 1.5 or that it will be sometime after 1.5 is released?
>
> Beverly<<
>
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Also, an afterthought to clarify the issue of the DC2 breakpoint [the original issue] a bit (I hope):

This is new with 1.5, so you could possibly switch to 1.1 to use DC2 on the driver (or you could potentially deal with the breakpoints with a debugger script and use 1.5).